-
Notifications
You must be signed in to change notification settings - Fork 32
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
Javascript as new special shortcut #15
Comments
Hi! So actually thinking about this for a bit, I think that at some point (would need a major version bump), just using extensions at all should mean "any type that maps to this extension", rather than what it means right now, which is "the most-preferred type that maps to this extension". For now, we could potentially just add exceptions until we're ready to blanket it in the next major. I would say yes, we should make this exception and just apply it to |
How about adding
javascript
as a new special shortcut that expands to the following.Unfortunately there are still a few servers out in the wild that returns one of the two latter which breaks my script :(
Here are some info on how/when/why they were used: Difference between application/x-javascript and text/javascript content types @ StackOverflow
The text was updated successfully, but these errors were encountered: