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
Hi Dylan, did you have a chance to look into this issue? What's next?
I am blocked by this issue because I have to use different authentication header on each image.
@bunnyc1986 That sucks. It's a hard issue. The best route might be to submit a PR to SDWebImage to allow per-request headers. Alternatively there might be another native library that could be used instead, see: #13
I don't think I'll be able to look into this anytime soon though, sorry.
The way SDWebImage works headers set on
FastImage
are global.See here.
So the latest requested image will e.g. overwrite the token header for any other queued images.
This is really sloppy and will probably lead to bugs in some people's code down the line. This may tie into #13 .
The text was updated successfully, but these errors were encountered: