3.0.4: Reject invalid Content-Type headers.

This commit is contained in:
Dave Shawley 2020-11-02 09:21:08 -05:00
parent 457dc178f3
commit f6f84bdd2c
2 changed files with 5 additions and 4 deletions

View file

@ -1,8 +1,8 @@
Version History
===============
Next Release
------------
`3.0.4`_ (2 Nov 2020)
---------------------
- Return a "400 Bad Request" when an invalid Content-Type header is received
instead of failing with an internal server error
@ -84,7 +84,8 @@ Next Release
---------------------
- Initial Release
.. _Next Release: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.3...HEAD
.. _Next Release: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.4...HEAD
.. _3.0.4: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.3...3.0.4
.. _3.0.3: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.2...3.0.3
.. _3.0.2: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.1...3.0.2
.. _3.0.1: https://github.com/sprockets/sprockets.mixins.mediatype/compare/3.0.0...3.0.1

View file

@ -21,7 +21,7 @@ except ImportError as error: # noqa: F841 # pragma no cover
set_default_content_type = _error_closure
version_info = (3, 0, 3)
version_info = (3, 0, 4)
__version__ = '.'.join(str(x) for x in version_info)
__all__ = ['ContentMixin', 'ContentSettings', 'add_binary_content_type',