mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
3adaef8ae73a3061a9fe4c5e0256d80bc09b1cf4
[#4308 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
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]
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%