Version History¶
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
3.0.0 (4 Dec 2018)¶
Add MessagePack dependencies to package extras (eg. pip install sprockets.mixins.mediatype[msgpack])
Update to minimum of ietfparse 1.5.1
Drop support for Python < 3.7
Drop support for Tornado < 5
Remove deprecated
sprockets.mixins.mediatype.content.ContentSettings.from_application()
.
2.2.0 (7 Jun 2017)¶
Deprecate
sprockets.mixins.mediatype.content.ContentSettings.from_application()
.Update to ietfparse 1.4.
2.0.1 (29 Feb 2016)¶
Removed deprecation wrapper since it seems to cause really interesting problems including the much feared meta-class error.
2.0.0 (24 Feb 2016)¶
Repackage from a module into a package. Distributing raw modules inside of a namespace package is unreliable and questionably correct.
Add
sprockets.mixins.mediatype.transcoders.MsgPackTranscoder
.Add
sprockets.mixins.mediatype.transcoders.BinaryWrapper
.Normalize registered MIME types.
Raise a 400 status when content body decoding fails.