8f2f068b9e
Reword changelog
Antoine Belvire
2021-02-19 23:05:05 +00:00
153aa93008
- Replace call to 'python setup.py test' by pyunittest macro: This prevents a DeprecationWarning to be turned into an error and to fail the build.
Antoine Belvire
2021-02-19 22:59:35 +00:00
064a3be1f8
- Update to version 1.1.0: * Support passing file-like objects (those implementing .read(n)) as the content parameter for Resources. See mohawk.Sender for details.
Antoine Belvire
2019-10-28 20:15:04 +00:00
2545ba84c5
- Update to version 1.0.0: * Security related: Bewit MACs were not compared in constant time and were thus possibly circumventable by an attacker. * Breaking change: Escape characters in header values (such as a back slash) are no longer allowed, potentially breaking clients that depended on this behavior. * A sender is allowed to omit the content hash as long as their request has no content. The mohawk.Receiver will skip the content hash check in this situation, regardless of the value of accept_untrusted_content. * Introduced max limit of 4096 characters in the Authorization header. * Changed default values of content and content_type arguments to mohawk.base.EmptyValue in order to differentiate between misconfiguration and cases where these arguments are explicitly given as None (as with some web frameworks). * Failing to pass content and content_type arguments to mohawk.Receiver or mohawk.Sender.accept_response without specifying accept_untrusted_content=True will now raise mohawk.exc.MissingContent instead of ValueError.
Antoine Belvire
2019-01-11 06:56:08 +00:00