Commit graph

26 commits

Author SHA1 Message Date
Dave Shawley
a1cc214bbe ContentMixin: Set the Vary header.
This lets any transparent caches that our responses will vary based on
the Accept header.  Without this, caches will assume that a cached
response can be used even if the Accept header differs.
2016-03-13 09:34:32 -04:00
Dave Shawley
d571209e38 Remove _mark_deprecated wrapper. 2016-02-29 14:35:07 -05:00
Dave Shawley
a9e24b7f5b docs/conf.py: Add codecoverage badge. 2016-02-24 14:47:53 -05:00
Dave Shawley
baf643e3ef Metadata bumps for 2.0.0. 2016-02-24 14:47:39 -05:00
Dave Shawley
206e43ee7d ContentMixin: Raise 400 when body decode fails. 2016-02-22 09:58:58 -05:00
Dave Shawley
995c715405 Normalize registered content types.
MIME content type strings are normalized by lower-casing the content
type parameters and then sorting them.  Each parameter is preceded by a
space.
2016-01-31 12:11:11 -05:00
Dave Shawley
98e3719a8b MsgPackTranscoder: Add BinaryWrapper override. 2016-01-18 07:58:30 -05:00
Dave Shawley
7d2237745e Add s.m.mediatype.transcoders.MsgPackTranscoder. 2016-01-18 07:58:07 -05:00
Dave Shawley
ee8f645a51 Add sprockets.mixins.mediatype.transcoders.JSONTranscoder. 2016-01-16 09:56:38 -05:00
Dave Shawley
d7f1bb1e4e Add content.add_transcoder. 2016-01-16 09:56:38 -05:00
Dave Shawley
e3294af26c docs: Update links from Python 2 to Python 3. 2016-01-16 09:56:38 -05:00
Dave Shawley
478868d5b4 Remove unused docs/examples.rst. 2016-01-10 13:52:38 -05:00
Dave Shawley
b3126209e1 Happy New Year, the 2016 edition. 2016-01-10 13:52:31 -05:00
Dave Shawley
74ce03a0d5 Update documentation & examples for new packaging. 2016-01-10 11:36:52 -05:00
Dave Shawley
ce54332cab Repackage sprockets.mixins.mediatype into a package.
Distributing a raw python module into a namespace package seems to be
somewhat unreliable though I haven't proven it yet...  In any case,
installing a package inside of a namespace package behaves itself.
2016-01-10 11:36:46 -05:00
Dave Shawley
ee26168e25 history.rst: Correct ReST syntax. 2015-11-02 14:25:42 -05:00
Amber Heilman
1a60c4a0f3 bump to 1.0.4 2015-09-14 11:15:29 -04:00
Amber Heilman
6353f4f47f bump to 1.0.3 2015-09-10 11:33:39 -04:00
Dave Shawley
2988030b4c Correct module name in sphinx conf. 2015-09-09 18:50:14 -04:00
Dave Shawley
ba9fd2a7ff Rename module from media_type -> mediatype.
The github repository is still media_type but I'm okay with that for the
time being.
2015-09-09 18:26:33 -04:00
Dave Shawley
91f7ad972f Version bumps around the world 2015-09-09 18:02:06 -04:00
Amber Heilman
0a7bf6113f bump for initial relase 1.0.0 2015-09-09 16:14:39 -04:00
Dave Shawley
123793cd86 Clean up documentation. 2015-08-20 07:12:26 -04:00
Dan Tracy
985c6d9a55 Fix up badges a bit 2015-06-09 09:42:21 -04:00
Dan Tracy
2645e5f306 Update the ReadTheDocs link 2015-06-09 09:35:09 -04:00
Dan Tracy
f73a5e07ce Initial commit 2015-06-09 09:28:29 -04:00