forked from orbit-oss/flask
add Response.max_cookie_size config
This commit is contained in:
parent
465b48ed4e
commit
1ed756a523
6 changed files with 65 additions and 5 deletions
12
CHANGES.rst
12
CHANGES.rst
|
|
@ -145,11 +145,14 @@ unreleased
|
|||
(`#2635`_)
|
||||
- A single trailing slash is stripped from the blueprint ``url_prefix``
|
||||
when it is registered with the app. (`#2629`_)
|
||||
- :meth:`Request.get_json() <flask.Request.get_json>` doesn't cache the
|
||||
- :meth:`Request.get_json` doesn't cache the
|
||||
result if parsing fails when ``silent`` is true. (`#2651`_)
|
||||
- :func:`request.get_json <flask.Request.get_json>` no longer accepts
|
||||
arbitrary encodings. Incoming JSON should be encoded using UTF-8 per
|
||||
:rfc:`8259`, but Flask will autodetect UTF-8, -16, or -32. (`#2691`_)
|
||||
- :func:`Request.get_json` no longer accepts arbitrary encodings.
|
||||
Incoming JSON should be encoded using UTF-8 per :rfc:`8259`, but Flask
|
||||
will autodetect UTF-8, -16, or -32. (`#2691`_)
|
||||
- Added :data:`MAX_COOKIE_SIZE` and :attr:`Response.max_cookie_size` to
|
||||
control when Werkzeug warns about large cookies that browsers may
|
||||
ignore. (`#2693`_)
|
||||
|
||||
.. _pallets/meta#24: https://github.com/pallets/meta/issues/24
|
||||
.. _#1421: https://github.com/pallets/flask/issues/1421
|
||||
|
|
@ -196,6 +199,7 @@ unreleased
|
|||
.. _#2629: https://github.com/pallets/flask/pull/2629
|
||||
.. _#2651: https://github.com/pallets/flask/issues/2651
|
||||
.. _#2691: https://github.com/pallets/flask/pull/2691
|
||||
.. _#2693: https://github.com/pallets/flask/pull/2693
|
||||
|
||||
|
||||
Version 0.12.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue