This project is archived and is in readonly mode.

#1573 ✓stale
Seth Fitzsimmons

Improved handling for MIME types

Reported by Seth Fitzsimmons | December 14th, 2008 @ 07:23 PM | in 3.x

The first patch implements =~ in Mime::Type, to match the == implementation (for synonym handling).

The second uses Mime::JS in place of explicit references to text/javascript.

The third changes the default javascript MIME type to application/javascript, as text/javascript is obsolete per RFC 4329, section 7.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages