3 ms·
Relevant: https://hyper.rs/hyper/v0.9.6/hyper/client/request/struct.Request.html https://hyper.rs/hyper/v0.9.6/hyper/client/request/struct.Re...
by sprt 9y ago
Relevant: https://hyper.rs/hyper/v0.9.6/hyper/client/request/struct.Request.html https://hyper.rs/hyper/v0.9.6/hyper/client/request/struct.Re...
- tomjakubowski 9y agoCould you elaborate? There isn’t much of a discussion there of the benefits from making Request affine.
- carry_bit 9y agoheaders_mut is only defined on Request<Fresh>, and you can only write body data using Request<Streaming>. This makes it so it's a type error to try to modify the headers after you already sent them.