-
Notifications
You must be signed in to change notification settings - Fork 125
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
Increase default body parser size #471
Conversation
I have signed the CLA! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @tschoffelen
We would like to get this merged! Could you add a changeset for this!
Is this one ready to get merged @lizkenyon, or is there anything more I need to do? |
Sorry I missed your ping @tschoffelen Merging now. Thank you for your contribution! It is highly appreciated 😄 |
WHY are these changes introduced?
An issue I come across occasionally is a webhook payload that is rejected due to a "HTTP:413 Request Entity Too Large" error. This is due to the
body-parser
limit by default being set to100kb
.WHAT is this pull request doing?
This PR introduces a new default value for this, which should alleviate this issue.
Type of change
Checklist
yarn changeset
to create a draft changelog entry (do NOT update theCHANGELOG.md
files manually)Notes
I'm unsure if any tests need to be added for this change - please do let me know if you have an idea of how you'd like to see this tested.