Skip to content

fix: answer 413 for a body over the limit, as body-parser and finalhandler - #375

Merged
dimdenGD merged 1 commit into
dimdenGD:mainfrom
nigrosimone:fix-body-limit-413
Oct 7, 2026
Merged

dimdenGD merged 1 commit into
dimdenGD:mainfrom
nigrosimone:fix-body-limit-413

Conversation

@nigrosimone

Copy link
Copy Markdown
Contributor

A body over the limit of express.json(), raw(), text() or urlencoded() is answered with 500, where Express answers 413

@nigrosimone

Copy link
Copy Markdown
Contributor Author

The CI failure is not from this change. Only must support res.connection fails, on Node 24 and 26, and the same test fails in the same way in #374.

@nigrosimone
nigrosimone marked this pull request as ready for review October 7, 2026 09:11
@dimdenGD
dimdenGD merged commit 3bd263b into dimdenGD:main Oct 7, 2026
2 of 4 checks passed
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