Skip to content

Commit 51e1622

Browse files
Using application/x-www-form-urlencoded for FORM Mime constant
1 parent 8fbbcfc commit 51e1622

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mime/constants.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ pub const BYTE_STREAM: Mime = Mime {
141141
/// # Mime Type
142142
///
143143
/// ```txt
144-
/// application/x-www-urlencoded
144+
/// application/x-www-form-urlencoded
145145
/// ```
146146
pub const FORM: Mime = Mime {
147-
static_essence: Some("application/x-www-urlencoded"),
147+
static_essence: Some("application/x-www-form-urlencoded"),
148148
essence: String::new(),
149149
basetype: String::new(),
150150
subtype: String::new(),
151151
static_basetype: Some("application"),
152-
static_subtype: Some("x-www-urlencoded"),
152+
static_subtype: Some("x-www-form-urlencoded"),
153153
parameters: None,
154154
};
155155

0 commit comments

Comments
 (0)