[ckan-changes] [okfn/ckan] 3d20dc: 2409 Fix accept handling
GitHub
noreply at github.com
Wed May 23 16:52:08 UTC 2012
Branch: refs/heads/enhancement-2409-fix-accept-handling
Home: https://github.com/okfn/ckan
Commit: 3d20dc42c0bb39f9604bcf466446a8a735566ae5
https://github.com/okfn/ckan/commit/3d20dc42c0bb39f9604bcf466446a8a735566ae5
Author: Ross Jones <rossdjones at gmail.com>
Date: 2012-05-23 (Wed, 23 May 2012)
Changed paths:
M ckan/controllers/package.py
A ckan/lib/accept.py
A ckan/tests/lib/test_accept.py
Log Message:
-----------
2409 Fix accept handling
To remove the dependency on autoneg we're replacing the parsing of the
accept header with some code that achieves nearly the same goal. The
code now allows the user to provide an extension to obtain a content-
type or to provide an accept-header and receive a content-type, an
indication of which renderer to use (soon to be removed hopefully)
and the name of the extension for that type.
More information about the ckan-changes
mailing list