Commit 00ab4413 authored by Ricki Hirner's avatar Ricki Hirner

Upgrade to okhttp/3.8.0

parent 769a973f
Pipeline #8607548 passed with stage
in 4 minutes
......@@ -50,14 +50,14 @@ android {
dependencies {
compile 'com.android.support:support-annotations:25.+'
compile 'org.apache.commons:commons-lang3:3.5'
compile 'com.squareup.okhttp3:okhttp:3.7.0'
compile 'com.squareup.okhttp3:okhttp:3.8.0'
provided 'org.projectlombok:lombok:1.16.16'
androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.7.0'
androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.8.0'
androidTestCompile 'junit:junit:4.12'
androidTestCompile 'com.android.support.test:runner:+'
testCompile 'junit:junit:4.12'
testCompile 'com.squareup.okhttp3:mockwebserver:3.7.0'
testCompile 'com.squareup.okhttp3:mockwebserver:3.8.0'
}
......@@ -33,7 +33,7 @@ public class BasicDigestAuthHandlerTest {
Response response = new Response.Builder()
.request(original)
.protocol(Protocol.HTTP_1_1)
.code(401)
.code(401).message("Authentication required")
.header("WWW-Authenticate", "Basic realm=\"WallyWorld\"")
.build();
Request request = authenticator.authenticateRequest(original, response);
......
......@@ -32,7 +32,7 @@ public class ServiceUnavailableExceptionTest {
.get()
.build())
.protocol(Protocol.HTTP_1_1)
.code(503)
.code(503).message("Try later")
.build();
ServiceUnavailableException e = new ServiceUnavailableException(response);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment