Sprockets-mixins-mediatype

Latest version: v2.1.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.0

---------------------
- Add :func:`sprockets.mixins.mediatype.content.install`.
- Add :func:`sprockets.mixins.mediatype.content.get_settings`.
- Deprecate :meth:`sprockets.mixins.mediatype.content.ContentSettings.from_application`.
- Update to ietfparse 1.4.

2.1.0

----------------------
- Set the _`Vary` header if we are setting the content type.

2.0.1

----------------------
- Removed deprecation wrapper since it seems to cause really interesting
problems including the much feared meta-class error.

2.0.0

----------------------
- Repackage from a module into a package. Distributing raw modules inside
of a namespace package is unreliable and questionably correct.
- Add :func:`sprockets.mixins.mediatype.content.add_transcoder`.
- Add :class:`sprockets.mixins.mediatype.transcoders.JSONTranscoder`.
- Add :class:`sprockets.mixins.mediatype.transcoders.MsgPackTranscoder`.
- Add :class:`sprockets.mixins.mediatype.transcoders.BinaryWrapper`.
- Normalize registered MIME types.
- Raise a 400 status when content body decoding fails.

1.0.4

----------------------
- Support using the default_content_type in the settings if request does not
contain the Accept header

1.0.3

----------------------
- Update installation files

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.