Skip to content
Myr

Add express.raw to parse bodies into Buffer

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #3708

authored by Amit Zur · committed by Douglas Christopher Wilson · parent 60aacac · Browse files · 3 files+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−0 removed

  • tests:+5 added−0 removed
  • other:+2 added−0 removed

3 files+7 added−0 removed

modified:lib/express.js+1 added
modified:test/exports.js+5 added
modified:History.md+1 added
1unreleased2==========34 * Add `express.raw` to parse bodies into `Buffer`5 * Improve error message for non-strings to `res.sendFile`6 * Improve error message for `null`/`undefined` to `res.status`7 * Support multiple hosts in `X-Forwarded-Host`8 * deps: accepts@~1.3.7
3453 unmodified lines