HTTP payload parsing
HTTP payload parser.
Lead Maintainer: John Brett
subtext is sponsored by Sponsorama.
subtext parses the request body and exposes it in a callback.
const Http = ;const Subtext = ;Http;console;
See the API Reference
A Node bug in versions below Node v4.3.2 meant that the
Buffer.byteLength function did not work correctly, and as such, using
maxBytes options with multipart payloads will mistake the file buffer size to be incorrectly as bigger than it is. Your options here are either to upgrade to Node version greater than v4.3.2 or increase maxBytes to allow some error in calculation. Background info in this issue here.