co-body will set opts.length if the header content-length is present in the request. If any subsequent requests follow that dont have content-length (i.e. chunked) the previous value is used, this will trigger a content length mismatch error. Passing a clean opts object will prevent this
co-body
will setopts.length
if the headercontent-length
is present in the request. If any subsequent requests follow that dont havecontent-length
(i.e. chunked) the previous value is used, this will trigger a content length mismatch error. Passing a cleanopts
object will prevent this