ads

samedi 12 septembre 2015

Content length -1 in HttpUrlConnection response



Hi All,

First of all I want to apologize, this is my first post on this forum and may be I do not adhere to question standard.

I am facing a weird problem, weird because the same is working on ios and browser.problem is when I am making a get request, the response does not have content length information. Server gets to use transfer encoding as chunked only for Android request.

Whats the catch here, and what is the solution.
I repeat the same is working on iOS and browser.
Also surprisingly it also work on android for some request but most of the time it didn't :(

Thanks in advance.
Happy coding.



Aucun commentaire:

Enregistrer un commentaire