You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
follow-redirects has a maxBodyLength, because it needs to buffer the request body entity in memory for cases where a POST or PUT request results in a redirect.
Backgrounds,
axios
has a config option calledmaxContentLength
, which means the max response content size.follow-redirects
provides another option calledmaxBodyLength
, which means the max request body size.I don't think they are the same. So why did we connect them in #1286?
(cc @mividtim @RubenVerborgh @emilyemorehouse)
I guess we need design a new option called
maxBodyLength
exactly and set its default value correctly to avoid cases like #1362 (comment).The text was updated successfully, but these errors were encountered: