Sean McArthur
Sean McArthur
Naming is hard, but to keep it simple, it could just be `HeaderValueString`...
As I work on [typed headers](https://github.com/hyperium/headers), a few types are most useful as strings (such as `UserAgent`). It'd be useful to allow `UserAgent::as_str()` for free, while still being to able...
I'd expect the UTF-8 check to happen when parsing to a typed version, so if it weren't valid UTF-8, the typed version would not parse. ```rust // essentially `struct UserAgent(HeaderValueString)`...
Indeed, for now, I've implemented a `HeaderValueString` externally, it just requires some `unsafe` blocks. They could be removed if the type were part of `http`, but it may not be...
I just did a large redesign of this crate, resulting in v0.3. I realize reqwest is on the road to 1.0, and it publicly relies on mime, so there does...
- Using modules to group by top level media type is an interesting idea! Seeing `mime::text::CSS` and things is neat. There could be some confusing around which constant is a...
> If you plan to add a large number of constants more, maybe. Are you going to keep it about the same? Just constants for the most used types? Undecided....
There was some discussion in #55 about splitting `Mime` into two types, `MediaType` and `MediaRange`, such that `text/*` is a valid `MediaRange`, but not a valid `MediaType`. I like the...
It could be the h3spec is using requirements from an old version of the spec... In that case, is there a way to ignore some? Another option is to make...
I've run into this as well, it's unfortunate this is unintuitive. The reason is that No. 1 is parsing in `authority-form`, which means it doesn't have a scheme or path....