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

Node Http Request : Provide access to raw request body #293

Closed
mathewc opened this issue Apr 25, 2016 · 1 comment
Closed

Node Http Request : Provide access to raw request body #293

mathewc opened this issue Apr 25, 2016 · 1 comment
Assignees
Milestone

Comments

@mathewc
Copy link
Member

mathewc commented Apr 25, 2016

Currently we provide access to the request body via context.req.body. For convenience, if the request is of content-type application/json we parse the body into an object. However, in some cases the raw unparsed body is required. See issue here.

We should probably make this available as context.req.rawBody

@mathewc
Copy link
Member Author

mathewc commented Apr 26, 2016

Resolved via: a8eb320

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants