Skip to content

Client: Work around missing Authorization header#23

Open
msarehn wants to merge 1 commit intowiedi:masterfrom
MenloSystems:fix-missing-authorization-header
Open

Client: Work around missing Authorization header#23
msarehn wants to merge 1 commit intowiedi:masterfrom
MenloSystems:fix-missing-authorization-header

Conversation

@msarehn
Copy link
Copy Markdown
Contributor

@msarehn msarehn commented Jun 23, 2023

QNetworkAccessManager only sends the Authorization header after the server replies with status code 401. Not all servers do this (in particular, Maia's own XMLRPC server does not do this). Work around the issue by manually building the required Authorization header from the URL's user info.

QNetworkAccessManager only sends the Authorization header after the
server replies with status code 401. Not all servers do this (in
particular, Maia's own XMLRPC server does not do this). Work around
the issue by manually building the required Authorization header
from the URL's user info.
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.

1 participant