Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Why are we using Content-Type: application/x-javascript? #1481

Closed
jrsconfitto opened this issue Mar 7, 2014 · 2 comments
Closed

Why are we using Content-Type: application/x-javascript? #1481

jrsconfitto opened this issue Mar 7, 2014 · 2 comments
Milestone

Comments

@jrsconfitto
Copy link
Contributor

During my dev work on embedding static resources in Nancy, i found this SO answer. The previous link references this RFC section.

Should we transition to sending a Content-Type of application/javascript for the mime type of javascript responses?

It would be trivial to code (and i'll do it), but i thought i'd ask first.

@thecodejunkie
Copy link
Member

The long answer; we took the MimeTypes.cs from Mono and, obviously didn't screen every single mime-type it declares.
The short answer; we don't any more #1483 ;)

@jrsconfitto
Copy link
Contributor Author

;)

i figured we would want to change it eventually, but i wasn't sure if there
was some compatibility reason it was being kept around.

On Sat, Mar 8, 2014 at 9:17 AM, Andreas Håkansson
notifications@github.comwrote:

Closed #1481 #1481.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1481
.

jamie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants