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

Cant process content types with charset #7

Open
ErwinMO4 opened this issue Oct 15, 2021 · 0 comments
Open

Cant process content types with charset #7

ErwinMO4 opened this issue Oct 15, 2021 · 0 comments

Comments

@ErwinMO4
Copy link

Any request with a header of the form "application/json; charset=utf-8" will result in a 500 return code, because _get_body fails. The reason for this is that header_parts[0] (wsgi_adapter line 60) equals application/json (in my example), which does not contain any equality sign.

As this library is depricated I will not be spending any extra time on a pull request, but running the split function for only parts with at least one = should resolve the bug.

@github-staff github-staff deleted a comment May 27, 2024
@github-staff github-staff deleted a comment May 27, 2024
@github-staff github-staff deleted a comment May 27, 2024
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

No branches or pull requests

1 participant