hjr3 / weldr

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

Support a request content length body #40

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

The request uses a similar approach to consuming the body as the response does. It is tempting to DRY up that code, but I believe there are enough subtle differences that keeping it split apart is better for now.