http: HEAD
request consumes response body
#56697
Labels
http
Issues or PRs related to the http subsystem.
HEAD
request consumes response body
#56697
Version
v22.10.0
Platform
Subsystem
http
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior? Why is that the expected behavior?
No console output on server side after:
Body consumed
output on server side after:What do you see instead?
Body consumed
on server terminal after sendingHEAD
request.Nothing on client terminal after sending subsequent
GET
request.Additional information
With a patch from #56681, the body is correctly recognized as stream, resulting in
Transfer-Encoding: chunked
header in first response. However, the body is still slurped, and subsequent requests have zero length.The text was updated successfully, but these errors were encountered: