Commit graph

12 commits

Author SHA1 Message Date
Dave Shawley
716bff0d7f
Add application/x-www-formurlencoded transcoder.
I ended up not using urllib.parse functions since they do not implement
the specification.  The only difference is that the specification
requires that "~" is encoded.

NB - this commit is incomplete since it does not handle calling the
transcoder on simple objects.  mypy will quite correctly fail.
2021-10-14 07:12:01 -04:00
Dave Shawley
4a0ca5e390
Documentation updates for typing.
The changes to `api.rst` are particularly important since that is where
I describe the externally available type annotations.
2021-10-03 15:52:47 -04:00
Andrew Rabert
fd3f8b3008 Python 3 updates
- Simplify super()
- Remove object inheritance
- Simplify package namespacing
- Remove BinaryWrapper
- Remove python 2 code paths
2018-11-28 11:50:40 -05:00
Dave Shawley
68fe438894 content: Add install and get_settings functions. 2016-04-05 07:46:57 -04: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
74ce03a0d5 Update documentation & examples for new packaging. 2016-01-10 11:36:52 -05: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
123793cd86 Clean up documentation. 2015-08-20 07:12:26 -04:00
Dan Tracy
f73a5e07ce Initial commit 2015-06-09 09:28:29 -04:00