blazehttp icon indicating copy to clipboard operation
blazehttp copied to clipboard

修复 Content-Length 设置的bug

Open Marven11 opened this issue 4 months ago • 0 comments

现在blazehttp在发送请求的时候总是会设置Content-Length header

但是根据文档,这个Header只有在HTTP 1.1且没有使用Transfer-Encoding: chunked的时候才应该被设置

虽然现在的样本中没有使用Transfer-Encoding的地方,但是为了自定义样本不出错仍然需要修复这个Bug

Marven11 avatar Sep 25 '25 02:09 Marven11