Commit graph

54 commits

Author SHA1 Message Date
Dave Shawley
36a916a557 add_transcoder: Change parameter order.
This is the first part of making the content type parameter optional
2016-02-01 09:07:56 -05:00
Dave Shawley
f920298c54 Clean up a few documents. 2016-01-31 12:31:35 -05:00
Dave Shawley
ed357d878f Strip charset parameter from text content types. 2016-01-31 12:14:20 -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
3a65dea053 MsgPackTranscoder: Handle binary data values. 2016-01-18 07:58:11 -05:00
Dave Shawley
ba3d7cfc84 MsgPackTranscoder: Add support for UUID and datetimes. 2016-01-18 07:58:11 -05:00
Dave Shawley
7d2237745e Add s.m.mediatype.transcoders.MsgPackTranscoder. 2016-01-18 07:58:07 -05:00
Dave Shawley
8a44e527b1 Add explicit tests for handlers.add_*
Adding JSON and msgpack transcoders in the examples will obliviate
testing of the add_binary_content_type and add_text_content_type
functions.
2016-01-16 09:56:38 -05:00
Dave Shawley
3eecbad5c5 content.ContentSettings: Fix AttributeError in __setitem__.
Code coverage FTW!
2016-01-16 09:56:38 -05:00
Dave Shawley
d6493a70e2 tox.ini: Fix skip missing interpreters flag. 2016-01-16 09:56:38 -05:00
Dave Shawley
61713f9f15 JSONTranscoder: Add support for datetime, UUID, and binary types. 2016-01-16 09:56:38 -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
amberheilman
d215718d4e Merge pull request #7 from sprockets/repackage
Repackage into a package
2016-01-12 15:07:21 -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
51dcb9d4f5 Add Python3.5 to test coverage. 2016-01-10 11:37:51 -05:00
Dave Shawley
74ce03a0d5 Update documentation & examples for new packaging. 2016-01-10 11:36:52 -05:00
Dave Shawley
f9cda82f64 Add deprecation warnings for top-level items. 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
Dave Shawley
f47a9b2aba tests: Correct msgpack-related test.
This would fail if you inspected the response body :/
2015-11-02 14:25:36 -05:00
dave-shawley
d60ca0966a Merge pull request #4 from sprockets/add-default-content-type-to-resp
default to the set content type default in settings
2015-09-27 11:32:53 -04:00
Amber Heilman
1a60c4a0f3 bump to 1.0.4 2015-09-14 11:15:29 -04:00
Amber Heilman
212dcb7876 default to the set content type default in settings 2015-09-14 11:13:07 -04:00
dave-shawley
ebf8fe4f6f Merge pull request #3 from sprockets/fix-req-installation
Fix requirements
2015-09-10 11:39:04 -04:00
Amber Heilman
6353f4f47f bump to 1.0.3 2015-09-10 11:33:39 -04:00
amberheilman
eb07dd5188 Fix requirements
Change to new file for installation_requires and tests_require
2015-09-10 11:07:33 -04:00
dave-shawley
4cba9d60e5 Update README.rst
Missed changing the title when I renamed the module
2015-09-09 18:53:12 -04:00
Dave Shawley
2988030b4c Correct module name in sphinx conf. 2015-09-09 18:50:14 -04:00
Dave Shawley
d8aa137987 Correct module name in readme. 2015-09-09 18:46:32 -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
97a7cf76ea Remove underscore from distributable name. 2015-09-09 18:18:54 -04:00
Dave Shawley
c1ce5f7a46 Update link to documentation & RTD badge. 2015-09-09 18:02:22 -04:00
Dave Shawley
91f7ad972f Version bumps around the world 2015-09-09 18:02:06 -04:00
Dave Shawley
6f18782c71 Reset password. 2015-09-09 17:51:31 -04:00
Amber Heilman
0a7bf6113f bump for initial relase 1.0.0 2015-09-09 16:14:39 -04:00
Dan Tracy
f8352066de Merge pull request #2 from sprockets/initial-implementation
Initial implementation
2015-09-09 16:07:55 -04:00
Dave Shawley
e99e430806 Fix Python 3 issues. 2015-08-26 15:29:48 -04:00
Dave Shawley
7e12355311 More Travis-CI fun. 2015-08-26 15:19:53 -04:00
Dave Shawley
7f4a8f1437 More Travis-CI appeasement. 2015-08-26 15:17:52 -04:00
Dave Shawley
8946534d46 Fix badges. 2015-08-26 15:15:59 -04:00
Dave Shawley
c76b753234 Appease Travis-CI 2015-08-26 15:10:27 -04:00
Dave Shawley
f766a24e26 Add request body negotiation. 2015-08-26 14:50:48 -04:00
Dave Shawley
123793cd86 Clean up documentation. 2015-08-20 07:12:26 -04:00
Dave Shawley
7305cad7e7 Add response type negotiation. 2015-08-19 18:29:11 -04:00
Dave Shawley
c67d1af19d Implement basic content handling framework. 2015-08-19 17:53:46 -04:00
Dave Shawley
e5023a420f RST 2015-08-07 17:14:37 -04:00