Skip to content

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

Description

@zengjialuo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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