Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly less annoying check for acceptable mime_types. This allows A…
…ccept: 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]
- Loading branch information
dc5300a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't there be some tests with it ?
dc5300a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Reopened the ticket.