Opened 8 years ago

Last modified 8 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

http://mail-archives.apache.org/mod_mbox/httpd-cvs/200707.mbox/%3C20070728122115.526981A981A@eris.apache.org%3E

Not that it matters a whole lot. The content-type of a JS file isn't really used for anything.

Change History (1)

comment:1 Changed 8 years ago by andersk

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.

Note: See TracTickets for help on using tickets.