Android : Retrieve incoming cookies with Retrofit

on Monday, September 1, 2014


I need to save an incoming cookie in order to subscribe further requests. I know I could do something like: CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_ALL)); though I'm not sure if it's completely appropriate/safe to write things like this.


There's an unanswered question, yet it's unanswered.


Thanks.


0 comments:

Post a Comment