Top "Okhttp" questions

An HTTP+HTTP/2 client for Android and Java applications.

How to change body in OkHttp Response?

I'm using retrofit. To catch response i'm using Interceptor: OkHttpClient okHttpClient = new OkHttpClient(); okHttpClient.interceptors().add(myinterceptor); here is code …

java android retrofit interceptor okhttp
Android Picasso library, How to add authentication headers?

I have tried setting a custom OkHttpClient with a custom Authenticator, however as the doc says: "Responds to authentication challenges …

android picasso okhttp
Retrofit2: Modifying request body in OkHttp Interceptor

I am using Retrofit 2 (2.0.0-beta3) with OkHttp client in Android application and so far everything going great. But currently I …

android retrofit okhttp
Android Volley MalformedURLException Bad URL

After making a second network request using Volley, I always get this error. It doesn't seem to matter what the …

android android-volley android-networking okhttp
Glide - adding header to request

is there a method to add custom header to request when image is downloaded? I can use volley or okhttp …

android request android-volley okhttp android-glide
How to use Retrofit and SimpleXML together in downloading and parsing an XML file from a site?

I just started working with Retrofit. I am working on a project that uses SimpleXML. Can somebody provide me an …

android retrofit okhttp simple-framework okio
Tracking progress of multipart file upload using OKHTTP

I am trying to implement a a progress bar to indicate the progress of a multipart file upload. I have …

android okhttp okio
How to make OKHTTP post request without a request body?

Possible way to make OkHTTP post request without a request body in okhttp library ?

android http-post okhttp
Retrofit and OkHttp gzip decode

The REST service I want to consume answers as a gzipped encoded JSON. It provides the Content-Encoding: gzip, but my …

java retrofit okhttp
OkHTTP and Picasso don't run together

I use Picasso library in my project to load images ande cache them. It works good without any problem. However, …

android picasso okhttp