add encoding parameter to open_resource

co-authored-by: mark <lopkophacked@protonmail.com>
This commit is contained in:
David Lord 2024-07-10 14:37:32 +00:00
parent 66af0e55ef
commit 28d5a4d718
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
4 changed files with 79 additions and 51 deletions

View file

@ -3,7 +3,9 @@ Version 3.1.0
- Provide a configuration option to control automatic option
responses. :pr:`5496`
- ``Flask.open_resource``/``open_instance_resource`` and
``Blueprint.open_resource`` take an ``encoding`` parameter to use when
opening in text mode. It defaults to ``utf-8``. :issue:`5504`
Version 3.0.3
-------------