http_type/content_type/
enum.rs

1/// Represents supported HTTP content types.
2#[derive(Debug, Clone, PartialEq, Eq)]
3pub enum ContentType {
4    /// `application/json`
5    ApplicationJson,
6    /// `application/xml`
7    ApplicationXml,
8    /// `text/plain`
9    TextPlain,
10    /// `text/html`
11    TextHtml,
12    /// `application/x-www-form-urlencoded`
13    FormUrlEncoded,
14    /// Unknown or unrecognized content type
15    Unknown,
16}