rwf2/Rocket

(async) Remove or replace typed headers

Open

#1 067 ouverte le 2 août 2019

Voir sur GitHub
 (12 commentaires) (0 réactions) (1 assigné)Rust (1 645 forks)batch import
help wanted

Métriques du dépôt

Stars
 (25 738 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Typed headers were removed between hyper 0.10 and hyper 0.12. typed-headers does not appear to have all the headers hyper 0.10 did, but it looks like hyperx and headers might.

Options:

  • Re-export headers from one or the other library - this is what we did with hyper 0.10
  • Remove typed header support - this is currently implemented in the async branch; only the header names are available in hyper and we re-export those.
  • Implement From<X> for Header for every header in one or both of hyperx and typed-headers, perhaps behind a feature flag

Guide contributeur