hjr3 / weldr

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

Make TE header typed #105

Open hjr3 opened 7 years ago

hjr3 commented 7 years ago

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

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

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