Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Mime Types #4

Closed
2 of 4 tasks
jonathanong opened this issue May 2, 2014 · 7 comments
Closed
2 of 4 tasks

Additional Mime Types #4

jonathanong opened this issue May 2, 2014 · 7 comments

Comments

@jonathanong
Copy link
Member

Here's a list of additional mime types. You can make requests here, and we'll mark them as added and after some discussion and references.

places to look for more:

@Fishrock123
Copy link
Member

.jsx Are traditionally adobe files, apparently. - https://www.google.ca/search?q=.jsx+filetype

application/x-javascript+xml or application/vnd.facebook.javascript+xml would be reasonable for it though.

In related news, people need to start naming their things better: https://github.com/jsx/JSX

Edit: Additionally, text/coffeescript would be better as application/coffeescript -- depending on existing support, I suppose.

@jonathanong
Copy link
Member Author

it's somewhere on their site that the mime type is text/

@jonathanong
Copy link
Member Author

@dougwilson @Fishrock123 you guys this this module is ready? should we start using htis

@Fishrock123
Copy link
Member

@jonathanong yep! I said that when releasing 1.0.0 I think..

@dougwilson
Copy link
Contributor

@jonathanong Yep, I've already started integrating it into various expressjs things.

@Fishrock123
Copy link
Member

Awful, but it looks like facebook's .jsx is (not-rfc-officially?) text/jsx - http://facebook.github.io/react/docs/getting-started.html

Update: Yep, react hard-checks for that. https://github.com/facebook/react/blob/f230e0a03154e6f8a616e0da1fb3d97ffa1a6472/vendor/browser-transforms.js#L210

Landed in 168ea21

@jonathanong
Copy link
Member Author

moving to mime-db

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

No branches or pull requests

3 participants