rwf2/Rocket

(async) Remove or replace typed headers

開放

#1,067 建立於 2019年8月2日

 (12 則留言) (0 個反應) (1 位負責人)Rust (1,645 個分叉)batch import
help wanted

倉庫指標

星標
 (25,738 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南