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

When use Json as an extractor, the Content-Type should be application/[prefix+]json #236

Merged
merged 5 commits into from
Mar 15, 2022

Conversation

zys864
Copy link
Contributor

@zys864 zys864 commented Mar 15, 2022

When use Json as an extractor, the Content-Type should be application/[prefix+]json,
if the content-type is not application/json, poem return an error instead of continuing parsing body

@sunli829
Copy link
Collaborator

LGTM 🙂

@sunli829 sunli829 merged commit a781199 into poem-web:master Mar 15, 2022
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