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

Changed the check for content-type json to allow for charsets to be s… #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bkwint
Copy link

@bkwint bkwint commented Apr 18, 2022

Current code does not allow for proper header settings in the Content-Type. If Content-Type is set to "application/json; charset=utf-8" the task will not be properly forwarded to the handler callback. By changing the code to only check the start o the Content-Type we accept any charsets that are send.

@CLAassistant
Copy link

CLAassistant commented Apr 18, 2022

CLA assistant check
All committers have signed the CLA.

@koevskinikola
Copy link
Member

Hi @bkwint,

Thank you for raising this PR. We will review it soon and provide you with feedback.

@tasso94 or @danielkelemen, can you take over this review?

Best,
Nikola

@koevskinikola koevskinikola self-assigned this Apr 22, 2022
@tasso94
Copy link
Member

tasso94 commented Apr 22, 2022

@danielkelemen, this might be a good chance to get to know the codebase a little better. WDYT?

@danielkelemen
Copy link
Member

@danielkelemen, this might be a good chance to get to know the codebase a little better. WDYT?

Sure, I can take it over.

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.

5 participants