feat(rest): switch to body parser and add extensibility for parsers#1887
Closed
raymondfeng wants to merge 3 commits intosupport-form-bodyfrom
Closed
feat(rest): switch to body parser and add extensibility for parsers#1887raymondfeng wants to merge 3 commits intosupport-form-bodyfrom
raymondfeng wants to merge 3 commits intosupport-form-bodyfrom
Conversation
ba7ffcc to
3d9a005
Compare
480f8fc to
c01602b
Compare
d44f033 to
0764840
Compare
c01602b to
fe1a354
Compare
Member
Those are good arguments for changing the underlying implementation 👍 I think your other pull request adding support for url-encoded request bodies (#1838) is very close to get landed. I expect severe merge conflicts to happen afterwards. Let's put this pull request on hold until #1838 is landed and you can update the patch to incorporate url-encoded support. |
0c0d7d3 to
a478e56
Compare
3a107b5 to
4e1f204
Compare
ba40a29 to
61834d8
Compare
See #1797 - allow applications to configure body parser options - match content type to request body spec - use RequestBody for validation - extract unsupported media type error
4e1f204 to
7390460
Compare
Contributor
Author
|
github seems to have messed up this PR. Let me close it and open a new one. |
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the following features:
body-parseris more actively maintained thatbodybody-parsersupportscompressionoptionsBodyParserREQUEST_BODY_PARSER_TAG.Checklist
npm testpasses on your machinepackages/cliwere updatedexamples/*were updated