felipenoris / hyper-reverse-proxy

A simple reverse proxy for use with Hyper and Tokio
Apache License 2.0
181 stars 63 forks source link

Handle Trailers #2

Open brendanzab opened 7 years ago

brendanzab commented 7 years ago

Go's httputil.ReverseProxy handles Trailers. We currently don't. It would be a tricky thing to do because they need to be inserted after the body has been streamed. I'm not sure how to do it with hyper.

See reverseproxy.go for an example of how the go folks do it!

somehowchris commented 2 years ago

@felipenoris Is this now handled?