Closed cloneable closed 1 year ago
@nox, have you had a chance to look at this?
@seanmonstar, looks like @nox hasn't been active for months now. Can you recommend another reviewer? Btw, how does the following even work in hyper without this PR? https://github.com/hyperium/hyper/blob/5bf16402f7a146417a9f997387401f9dc5a7d63d/src/proto/h2/server.rs#L291-L293
how does the following even work in hyper without this PR?
Hm, well, the code itself is just conditional, if the extension exists, replace it with another. So it never fails. But I imagine we don't have a test anywhere that it ever succeeds, either. Would be worth making one, I think. I'll review this shortly.
This exposes the :protocol pseudo header as Request extension.
Fixes #347