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

Add optional http headers parameter to style reader #208

Merged
merged 3 commits into from
Aug 24, 2024

Conversation

LeonP2ER
Copy link
Contributor

Currently there is no possibility to add custom http headers when reading the style from a server.
That is a problem if custom headers are needed e.g. for authorization.

This pull request aims to fix that issue by adding the nullable field httpHeaders to the class StyleReader, which then passes the headers to all network requests.

@greensopinion
Copy link
Owner

Thanks for the contribution. Formatting fails CI checks - that will need fixing before accepting this PR.

@LeonP2ER
Copy link
Contributor Author

Reformatted the file, check should pass now.

@greensopinion greensopinion merged commit cf906e6 into greensopinion:main Aug 24, 2024
1 check passed
@greensopinion
Copy link
Owner

Thanks for the improvement @LeonP2ER

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.

2 participants