You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`MediaType` is const-constructible. It can be defined as a constant.
45
+
`MediaType` is const-constructible. It can be defined as a constant.
45
46
46
-
Predefind names and values are defined in [`names`](https://docs.rs/mediatype/latest/mediatype/names/index.html) and [`values`](https://docs.rs/mediatype/latest/mediatype/values/index.html) modules.
47
+
Predefind names and values are defined in
48
+
[`names`](https://docs.rs/mediatype/latest/mediatype/names/index.html) and
[`MediaTypeList`](https://docs.rs/mediatype/latest/mediatype/struct.MediaTypeList.html) parses a comma-separated list of `MediaType`s used in the HTTP `Accept` header. ([RFC 7231](https://www.rfc-editor.org/rfc/rfc7231#section-5.3.2))
0 commit comments