Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-06-22 | 1.3 kB | |
v2.4.0 source code.tar.gz | 2025-06-22 | 2.0 MB | |
v2.4.0 source code.zip | 2025-06-22 | 2.1 MB | |
Totals: 3 Items | 4.1 MB | 4 |
- SOME BREAKING CHANGES. Modify the built-in sessions to support any kind
of storage for the session information. It still defaults to storing sessions
in cookies, but allows defining a custom
SessionStore
to store information where desired. Fix [#542]. Read the updated documentation on Sessions for more information. - Remove
charset-normalizer
dependency. This library was used only when aUnicodeDecodeError
exception occurred when parsing the body of a web request. This can happen in two circumstances: when the client sends a payload specifying the wrong encoding in theContent-Type
request header, or when the client sends a payload that is notUTF-8
encoded and without specifying the charset encoding. Fix [#581]. - Now the framework always returns
Bad Request
with a useful error message in the response payload, in the circumstances described in the point above. - Correct bug in the
parse_charset
function that prevented proper parsing and optimal handling of input encodings different thanUTF8
. Parsing still worked in this case because of the automatic fallback tocharset-normalizer
. - Correct the output of
request.charset
when the charset is obtained from the 'Content-Type' request header.