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

Make the User-Agent header configurable #294

Closed
goraxan opened this issue Mar 28, 2022 · 3 comments
Closed

Make the User-Agent header configurable #294

goraxan opened this issue Mar 28, 2022 · 3 comments

Comments

@goraxan
Copy link

goraxan commented Mar 28, 2022

I'm trying to call a Keycloak server that returns a 403 Forbidden if the User-Agent header is not set.
Unfortunately I can't change the server configuration, so that it accepts requests without the User-Agent header.

Could you allow setting the User-agent globally so that every request has it?``

@DeepDiver1975
Copy link
Collaborator

Sounds reasonable - feel free to submit a pull request - thx

@goraxan
Copy link
Author

goraxan commented Mar 29, 2022

Ok done #296

@DeepDiver1975
Copy link
Collaborator

fixed by #370

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

No branches or pull requests

3 participants