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
let mime = parse("text/plain; charset=\"utf-8\"").unwrap();
Parsing quoted parameters directly contradicts with RFC 2045:
Note that the value of a quoted string parameter does not include the
quotes. That is, the quotation marks in a quoted-string are not a
part of the value of the parameter, but are merely used to delimit
that parameter value. In addition, comments are allowed in
accordance with RFC 822 rules for structured header fields. Thus the
following two forms
Content-type: text/plain; charset=us-ascii (Plain text)
Content-type: text/plain; charset="us-ascii"
are completely equivalent.
Am I reading it incorrectly?
The text was updated successfully, but these errors were encountered:
mime/mime-parse/src/rfc7231.rs
Line 400 in 2e0268e
Parsing quoted parameters directly contradicts with RFC 2045:
Am I reading it incorrectly?
The text was updated successfully, but these errors were encountered: