Mime sorting bug

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