hello, i have an app where i communicate with a website via http jobs.
the app works great with http and httputils2. if i switch to okhttp and okhttputils2 a download request does not return the content i want.
i use multiple jobs(one to login to the website, one to load content etc) the login part works and i get the results but other jobs cant give me the correct content. i suspect the cookies because i use eg. job1 to login end job2 to do something else and it may fail because it cant get the cookies loaded from job1.
any help here?
what is the deference between http and okhttp that may make it to fail?
thanks
the app works great with http and httputils2. if i switch to okhttp and okhttputils2 a download request does not return the content i want.
i use multiple jobs(one to login to the website, one to load content etc) the login part works and i get the results but other jobs cant give me the correct content. i suspect the cookies because i use eg. job1 to login end job2 to do something else and it may fail because it cant get the cookies loaded from job1.
any help here?
what is the deference between http and okhttp that may make it to fail?
thanks