Skip to content

多次设置Accept-Encoding #3623

Description

@rty813

sub2api发起的,anthropic oauth账号的消息请求中,accept-encoding头出现两次。

Image

GPT分析如下:
这是 sub2 用 raw header 方式透传小写 accept-encoding,同时 Go net/http Transport 又自动补了一个 canonical Accept-Encoding: gzip 导致的重复头。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions