pb
) supportthrow
on invalid typebody
property on verify errorstype
property on all generated errorshttp-errors
to set status code on errorsBuffer
loadinghttp-errors
for standard emitted errorsthrow
when missing charsetDEBUG_MAX_ARRAY_LENGTH
[
message
property enumerable for HttpError
sDEBUG_FD
set to 1
or 2
DEBUG_FD
environment variablesetprototypeof
module to replace __proto__
settingHttpError
export, for err instanceof createError.HttpError
verify
usediconv-lite
require
analysis in urlencoded
parserhasOwnProperty
makeError
statusCode
property on Error
s, in addition to status
type
default to application/json
for JSON parsertype
default to application/x-www-form-urlencoded
for urlencoded parserrequire
analysishttp-errors
module to generate errorsCONNECT
requestsUpgrade
requestshasOwnProperty
null
prototypeunpipe
module for unpiping requestsconstructor
hasOwnProperty
is presentdebug
messagestype
optioncontent-type
to parse Content-Type
headersObject.prototype
hasBody
Transfer-Encoding
check*/*
)extended: true
depth limit infinityextended: true
array limit dynamicarrayLimit
behaviorjson
produces {}
raw
produces new Buffer(0)
text
produces ''
urlencoded
produces {}
hasbody
to be true for content-length: 0
parameterLimit
option to urlencoded
parserurlencoded
extended array limit to 100parameterLimit
in urlencoded
Error.stackTraceLimit
is too lowTRACE_DEPRECATION
environment variable--no-deprecation
argument--trace-deprecation
argumentCannot switch to old mode now
error on Node.js 0.10+text
parserraw
parserbodyParser()
middleware; use .json()
and .urlencoded()
as neededurlencoded()
without provided extended
optioninflate: false
to turn officonv-lite
extended
option to urlencoded parsernext(err)
after request fully readverify
optiontype
optiontype-is
module