hjr3 / weldr

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

Make Via header typed #104

Open hjr3 opened 7 years ago

hjr3 commented 7 years ago

The Via header is defined as a String in src/proxy.rs.

header! { (Via, "Via") => [String] }

This header should be made into a properly typed header. We would then submit this upstream to hyper.