Browse Source

Fixes gh-2125

(Updated okhttp3 from v3.6.0 to v3.8.1)
pull/6/head
Jayanth MP 7 years ago
parent
commit
099c9024bb
  1. 3
      spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/ribbon/okhttp/OkHttpRibbonResponseTests.java
  2. 2
      spring-cloud-netflix-dependencies/pom.xml

3
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/ribbon/okhttp/OkHttpRibbonResponseTests.java

@ -70,6 +70,7 @@ public class OkHttpRibbonResponseTests { @@ -70,6 +70,7 @@ public class OkHttpRibbonResponseTests {
return new Response.Builder()
.request(new Request.Builder().url(HttpUrl.get(uri)).build())
.protocol(Protocol.HTTP_1_1)
.code(HttpStatus.OK.value());
.code(HttpStatus.OK.value())
.message(HttpStatus.OK.getReasonPhrase());
}
}

2
spring-cloud-netflix-dependencies/pom.xml

@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
<turbine.version>1.0.0</turbine.version>
<eureka-jersey.version>1.19.1</eureka-jersey.version>
<xstream.version>1.4.9</xstream.version>
<okhttp3.version>3.6.0</okhttp3.version>
<okhttp3.version>3.8.1</okhttp3.version>
</properties>
<dependencyManagement>
<dependencies>

Loading…
Cancel
Save