This project is archived and is in readonly mode.

Changeset [dc5300adb6d46252c26e239ac67e3ca6e5e2d77b] by Paul Sadauskas

April 2nd, 2010 @ 01:42 AM

Slightly less annoying check for acceptable mime_types. This allows Accept: application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include / in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved]
http://github.com/rails/rails/commit/dc5300adb6d46252c26e239ac67e3c...

Committed by Paul Sadauskas

  • M actionpack/lib/action_dispatch/http/mime_negotiation.rb

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>