Ticket #559 (closed Feature Request: fixed)
determine whether client prefers one mime type over another
| Reported by: | JAAulde | Owned by: | JAAulde |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1.2 |
| Component: | Helpers | Version: | SVN HEAD |
| Keywords: | Cc: |
Description
I would like to be able to pass a list of mime types to a method and get back the one which the requesting user agent prefers. This would be done by comparing 'q' values from the accepts request header. r2506 made this more possible by changing the structure of the accept_types array, so this shouldn't be too difficult.
This ticket/request is for documentation purposes only as I plan to write this.
Change History
Note: See
TracTickets for help on using
tickets.
