New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to add cookie header with picasso? #1259
Comments
I also encountered this problem, is looking for solutions |
finally i find maybe sth wrong with my url, but the url can display on the web |
this is my blog http://blog.csdn.net/guowang_wei/article/details/50536987 . At 2016-01-21 09:06:29, "kkwsl" notifications@github.com wrote: finally i find maybe sth wrong with my url, but the url can display on the web — |
For For |
OkHttpClient tmp = client.clone();
tmp.networkInterceptors().add(new Interceptor() {
@OverRide
public Response intercept(Chain chain) throws IOException {
Request request = chain.request().newBuilder().addHeader("Cookie", mCookieStr).build();
return chain.proceed(request);
}
});
mPicasso = new Picasso.Builder(mContext).downloader(new OkHttpDownloader(tmp)).build();
i use these code,but not work
The text was updated successfully, but these errors were encountered: