Difference between application/x-javascript and text/javascript content types

What is the difference between these headers?

Content-Type: application/javascript
Content-Type: application/x-javascript
Content-Type: text/javascript

Which one is best and why?

Please do not say they are identical – if they were identical there would not have been three of them. I know both work – but I would like to know the difference.

4 Answers
4

Leave a Comment