mirror of https://github.com/http-rs/http-types
Merge pull request #401 from u5surf/js-mime-rfc9239
Change MIME-Type of javascript
This commit is contained in:
commit
8101b90999
|
@ -52,7 +52,7 @@ macro_rules! mime_const {
|
|||
};
|
||||
}
|
||||
|
||||
utf8_mime_const!(JAVASCRIPT, "JavaScript", "application", "javascript");
|
||||
utf8_mime_const!(JAVASCRIPT, "JavaScript", "text", "javascript");
|
||||
utf8_mime_const!(CSS, "CSS", "text", "css");
|
||||
utf8_mime_const!(HTML, "HTML", "text", "html");
|
||||
utf8_mime_const!(PLAIN, "Plain text", "text", "plain");
|
||||
|
|
Loading…
Reference in New Issue