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

Use LENGTH_REQUIRED instead of BAD_REQUEST in SizeLimit middleware #348

Merged
merged 1 commit into from
Jul 30, 2022

Conversation

banool
Copy link
Contributor

@banool banool commented Jul 27, 2022

There is a specific error code for this case, let's use it.

@sunli829
Copy link
Collaborator

You are right!

@sunli829 sunli829 merged commit 1eda6e3 into poem-web:master Jul 30, 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