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

request body content negotiation #41

Closed
3 tasks done
DanielSchaffer opened this issue Mar 8, 2019 · 0 comments
Closed
3 tasks done

request body content negotiation #41

DanielSchaffer opened this issue Mar 8, 2019 · 0 comments
Labels
@dandi/http-pipeline feature New feature or request
Milestone

Comments

@DanielSchaffer
Copy link
Contributor

DanielSchaffer commented Mar 8, 2019

similar to rendering content negotiation:

  • readable body formats can be configured globally (json/form encoded/plain text/multipart/etc)
  • body formats are mapped to parsers that can create an object from them
  • body validation happens independently after the pipeline receives the request body parsing result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@dandi/http-pipeline feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant