edp icon indicating copy to clipboard operation
edp copied to clipboard

resource.js里 response.removeHeader('Transfer-Encoding') 不生效

Open zengjialuo opened this issue 8 years ago • 0 comments

使用proxy handler,当上游返回的header里存在Transfer-Encoding: trunked时,该bug会导致响应头同时存在Transfer-Encodingcontent-length,根据RFC 7230 section 3.3,这种情况可以作为错误被抛出,node新版本采用了该做法,导致请求失败。

zengjialuo avatar Jun 20 '16 07:06 zengjialuo