mime sorting bug

Roger Pack
Wed, 21 May 2008 18:27:51 -0000

Question: should rails'' mime handling prefer to render
''longer'' named
mime-types?

It seems from the specs
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
that the preferred mime-type is whichever is highest q value, or most
specific.

currently rails render based on q value, and then just on order that
they are listed by the browser.
-R
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---