• P
    Slightly less annoying check for acceptable mime_types. This allows Accept:... · dc5300ad
    Paul Sadauskas 提交于
    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]
    dc5300ad
mime_negotiation.rb 2.7 KB