Opened 12 years ago
Last modified 12 years ago
#379 new defect
Scripts sends the wrong media type for javascript files
| Reported by: | davidben | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | default | Keywords: | |
| Cc: |
Description
The correct type is application/javascript, not application/x-javascript.
http://tools.ietf.org/html/rfc4329
Not that it matters a whole lot. The content-type of a JS file isn't really used for anything.
Note: See
TracTickets for help on using
tickets.

This is a consequence of our httpd.conf never getting updated—it was fixed upstream in 2007. We should modernize httpd.conf from upstream, and update static-cat to match.