servicecomb-java-chassis
servicecomb-java-chassis copied to clipboard
ServiceComb中处理Content-Length和Transfer-Encoding逻辑
ServiceComb版本2.8.12,下载接口因为有组件依赖Content-Length请求头,在Edge中增加HttpServerFilter中设置Content-Length后Transfer-Encoding请求头没了,通过edge增加accesslog打印Transfer-Encoding为空,想问下ServiceComb中处理Content-Length和Transfer-Encoding逻辑是什么?
下载场景 Transfer-Encoding 为 trunked, 没有 Content-Length。 依赖Content-Length的场景是无法满足的,不能随便更改,否则会有不可预期的结果。