Skip to content
Advertisement

Tag: fetch

Cache-Control : no-cache

I tried to build an app in android studio which does json parsing from a URL server with ports (example: http://xxx.xxx.xxx.xxx:xxxx). So I found 3 methods such as asynctask, volley and okhttp. But the problem is everytime I parse it with these methods, the same exception always occurred. java.net.ProtocalException: Unexpected status line: HTTP/1.1 Cache-Control:no-cache Here is my code So is

Advertisement