GET BUG in 4.4.0
See original GitHub issueHi,
When I perform a GET on this URL : “https://hopteam.hop.fr” using 4.3.1 version, it works fine (response is 200)
If I do the same GET with 4.4.0, responses is 404
Here is my code
request = new Request.Builder() .url(url_hopteam) .build(); response = client.newCall(request).execute();
The client is
client = new OkHttpClient.Builder() .connectTimeout(28, TimeUnit.SECONDS) .writeTimeout(20, TimeUnit.SECONDS) .readTimeout(28, TimeUnit.SECONDS) .addNetworkInterceptor(new LoggingInterceptor()) .cookieJar(cookieJar) .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS)) .build();
In my app build.gradle, I have
implementation 'com.squareup.okhttp3:okhttp:4.4.0'
In the project build.gradle, I have
classpath 'com.android.tools.build:gradle:3.5.2'
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (2 by maintainers)
Top GitHub Comments
You are the best team ! Thank you, I’m happy if I was useful.
@MS893 Thanks for the detailed bug report!