Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceComb中处理Content-Length和Transfer-Encoding逻辑 #4275

Open
HoyerIsAlexander opened this issue Mar 28, 2024 · 1 comment
Open

Comments

@HoyerIsAlexander
Copy link

ServiceComb版本2.8.12,下载接口因为有组件依赖Content-Length请求头,在Edge中增加HttpServerFilter中设置Content-Length后Transfer-Encoding请求头没了,通过edge增加accesslog打印Transfer-Encoding为空,想问下ServiceComb中处理Content-Length和Transfer-Encoding逻辑是什么?

@liubao68
Copy link
Contributor

liubao68 commented Mar 29, 2024

下载场景 Transfer-Encoding 为 trunked, 没有 Content-Length。 依赖Content-Length的场景是无法满足的,不能随便更改,否则会有不可预期的结果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants