Skip to content

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

@zengjialuo

Description

@zengjialuo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions