Sprockets.mixins.mediatype

Latest version: v3.0.4

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

Scan your dependencies

Page 2 of 3

2.2.1

----------------------
- Pin :mod:`ietfparse` to avoid breakages introduced in 1.5.0.

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 :http:header:`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

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.