You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http1 client keeps content-length when transfer-encoding is also present #4263
A-clientArea: client.C-bugCategory: bug. Something is wrong. This is bad!E-easyEffort: easy. A task that would be a great starting point for a new contributor.
hyper 1.12 http1 client returns both headers for a response that carries
transfer-encoding: chunked and content-length: 100000, with a 5-byte body.
the server-side decoder removes content-length when transfer-encoding is
present; the client-side decoder does not. should the client do the same, or
is this intentionally left to the caller?
A-clientArea: client.C-bugCategory: bug. Something is wrong. This is bad!E-easyEffort: easy. A task that would be a great starting point for a new contributor.
Activity
fix(http1): drop Content-Length when a response also has Transfer-Enc…