hyperium / http

Rust HTTP types
Apache License 2.0
1.14k stars 284 forks source link

Use HeaderValue::from_static instead of parsing and unwrapping in HeaderMap example #526

Open Herbstein opened 2 years ago

Herbstein commented 2 years ago

This change is in response to hyperium/hyper#2714.

LucioFranco commented 2 years ago

I think this needs a rebase and then we can likely merge but we need to get CI running first.

Herbstein commented 1 year ago

Hi. I completely missed the comments on this because of the delay between posting and commenting. I've updated the PR with the suggested changes and rebased on the latest master.