retrofit2 - Android OKHttp and Retrofit return 304 error -
i'm develop android application using okhttp , retrofit send request skyscanner api.
but sometime got 304 response , response have no body content. can't parse body content object , that's why listview show nothing.
can me avoid 304 error.
304 not error. 304 refers redirect, , responsibility of client handle it.
http://www.checkupdown.com/status/e304.html
you doing request on document has not changed, , should depend on cache handle you.
Comments
Post a Comment