You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is a little offtopic with the Repo contents. I'm coding an Android App, and I'm using the same pattern that you're using here to get stuff from server-side/cache. The issue is that the server-side works with etags, so It can return 304 (Not Modified) or 200 (Success). I want to save the response in the cache only if the request response is 200, but no if the request response is 304, since It's the same data and It's a waste of time. I posted a very complete example here:
Sorry if this is a little offtopic with the Repo contents. I'm coding an Android App, and I'm using the same pattern that you're using here to get stuff from server-side/cache. The issue is that the server-side works with etags, so It can return 304 (Not Modified) or 200 (Success). I want to save the response in the cache only if the request response is 200, but no if the request response is 304, since It's the same data and It's a waste of time. I posted a very complete example here:
http://stackoverflow.com/questions/43960203/handling-different-flows-with-rxjava-and-retrofit/
Could you give me some advice about which is the best way to handle this?
Thanks!
The text was updated successfully, but these errors were encountered: