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

headers are case-sensitive #53

Open
linde12 opened this issue Oct 4, 2021 · 0 comments · May be fixed by #59
Open

headers are case-sensitive #53

linde12 opened this issue Oct 4, 2021 · 0 comments · May be fixed by #59

Comments

@linde12
Copy link

linde12 commented Oct 4, 2021

Hello!

I just noticed that headers, or at least the "Content-Type"-header is case-sensitive. If i pass headers: { 'content-type': 'application/json' } i will still get application/octet-stream but if i pass it as PascalCase it works.

Wonderful project, saves lots of time!

@aertje aertje linked a pull request Apr 24, 2022 that will close this issue
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 a pull request may close this issue.

1 participant