Skip to content
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

ios17 komga download fix #2

Open
wants to merge 1 commit into
base: 0.8
Choose a base branch
from

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