diff --git a/README.md b/README.md index a6765694..b8ead31b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pom.xml b/pom.xml index 61d34ca2..a33a22a7 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE. http.jcabi.com - http://http.jcabi.com/ + https://http.jcabi.com/ diff --git a/src/test/java/com/jcabi/http/RequestITCase.java b/src/test/java/com/jcabi/http/RequestITCase.java index be6257e0..1f68fefe 100644 --- a/src/test/java/com/jcabi/http/RequestITCase.java +++ b/src/test/java/com/jcabi/http/RequestITCase.java @@ -81,7 +81,7 @@ public static Collection 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) @@ -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); }