hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
217 stars 20 forks source link

Chunked encoding should have a higher priority as the content length header #44

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

See https://github.com/hjr3/alacrity/pull/43

hjr3 commented 7 years ago

According to http://httpwg.org/specs/rfc7230.html#message.body.length , the proxy should remove the Content-Length header if both headers are present.

hjr3 commented 7 years ago

Fixed by moving to hyper. https://github.com/hjr3/alacrity/pull/53