Skip to content

Commit

Permalink
jcabi#183 new URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 10, 2019
1 parent 47c8d2c commit 505efd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-http/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-http)
[![Dependencies](https://www.versioneye.com/user/projects/561a9e01a193340f32000eab/badge.svg?style=flat)](https://www.versioneye.com/user/projects/561a9e01a193340f32000eab)

More details are here: [http.jcabi.com](http://http.jcabi.com/index.html).
More details are here: [http.jcabi.com](https://http.jcabi.com/index.html).
Also, read this blog post: [Fluent Java HTTP Client](http://www.yegor256.com/2014/04/11/jcabi-http-intro.html).

```java
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<distributionManagement>
<site>
<id>http.jcabi.com</id>
<url>http://http.jcabi.com/</url>
<url>https://http.jcabi.com/</url>
</site>
</distributionManagement>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/jcabi/http/RequestITCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static Collection<Object[]> primeNumbers() {
*/
@Test
public void sendsHttpRequestAndProcessesHttpResponse() throws Exception {
this.request(new URI("http://http.jcabi.com"))
this.request(new URI("http://www.jare.io"))
.fetch().as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK)
.as(XmlResponse.class)
Expand All @@ -94,7 +94,7 @@ public void sendsHttpRequestAndProcessesHttpResponse() throws Exception {
*/
@Test
public void processesNotOkHttpResponse() throws Exception {
this.request(new URI("http://http.jcabi.com/file-not-found.txt"))
this.request(new URI("http://www.jare.io/file-not-found.txt"))
.fetch().as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_NOT_FOUND);
}
Expand Down

0 comments on commit 505efd7

Please sign in to comment.