mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-12-28 03:00:24 +00:00
3.0.4: Reject invalid Content-Type headers.
This commit is contained in:
parent
457dc178f3
commit
f6f84bdd2c
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue