Skip to content

ios17 komga download fix#2

Open
skyethepinkcat wants to merge 1 commit intoPaperback-iOS:0.8from
skyethepinkcat:download-fix
Open

ios17 komga download fix#2
skyethepinkcat wants to merge 1 commit intoPaperback-iOS:0.8from
skyethepinkcat:download-fix

Conversation

@skyethepinkcat
Copy link

After doing some testing for whatever reason the authorization section of the header never gets changed if you just do request.headers.authorization = getAuthorizationString(this.stateManager), causing the authorization token to never be set seemingly specifically when downloading things, at least on my ipad. Setting request.headers to a new Record seems to resolve this, for whatever reason.

Notably this fixes Paperback-iOS/app#665 at least for me.

After doing some testing for some reason the authorization section of
the header never gets set if you just set the 'authorizaton' part of the
headers. Resesting 'headers' to a new Record seems to resolve this.
@julienma
Copy link

Works for me too, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Downloads fail 401

2 participants