Sean McArthur
Sean McArthur
There is an attribute of `HeaderValue` that [marks it as "sensitive"](https://docs.rs/http/0.1.*/http/header/struct.HeaderValue.html#method.is_sensitive). This currently has 2 effects: - In HTTP2, the [HPACK never-indexed-literals](https://httpwg.org/specs/rfc7541.html#never.indexed.literals) flag is set. This keeps the value from...
Several headers that a client can send include a list of "quality items", thereby ranking which sorts of representations are more preferable. For example, `Accept: image/svg+xml, image/*;q=0.8`. These are often...
I wanted to write-up some thoughts on the future direction for the `StatusCode::as_str` method. The `as_str` method returns the numeric part of the status code as a string slice. So,...
A `HeaderValue` may not always be a valid UTF-8 `String`, and so there is a `to_str(&self) -> Result` method that validates the bytes first. To create a `String`, one could...
The target domain of the `mime` crate is webdev. Instead of following the original RFCs (as is done now), perhaps it's best to just use the sniffing algorithm that is...
Sometimes when encoding or decoding, it can be desirable to "rewind" a read or write operation. Some examples: - When decoding, after reading a `u32` that describes the "length" of...
The current implementation of [`BindServer`](https://github.com/tokio-rs/tokio-proto/blob/0.1.0/src/streaming/pipeline/server.rs#L56-L63) forces all the error types to be the same `Proto::Error` type, but there are cases where different errors make more sense.
Currently, the out body is polled right after receiving a `Frame::Message`. This may be desirable in some instances, but it may also be undesirable. One example of wanting to disable...
There are various needs to be able to upgrade from one protocol to another. Some common ones are 'HTTP1 -> websockets', 'HTTP1 -> HTTP2', `HTTP1 CONNECT -> Anything'. A possibility...
The [`h3` crate](https://github.com/hyperium/h3) is mostly working, and while the hyper 1.0 roadmap has changes need to allow new HTTP versions which don't use `TcpStream` to be added, it would be...