summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2022-01-17 16:24:56 -0700
committerBert JW Regeer <bertjw@regeer.org>2022-01-17 16:26:29 -0700
commit5627a4c322ae02c79bb61e531fc6bf8e0a69c9b8 (patch)
tree2a3ba58271e29785055b4862eb085a3c04d5f738
parent8423ffac8f2f32ed501d225f9f4f6893511212a7 (diff)
downloadwaitress-5627a4c322ae02c79bb61e531fc6bf8e0a69c9b8.tar.gz
Add CHANGELOG for wsgi.file_wrapper seek/tell attrs
-rw-r--r--CHANGES.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 5ccaa64..888c31b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -11,6 +11,13 @@ Python Version Support
Bugfix
~~~~~~
+- ``wsgi.file_wrapper`` now sets the ``seekable``, ``seek``, and ``tell`` attributes from
+ the underlying file if the underlying file is seekable. This allows WSGI
+ middleware to implement things like range requests for example
+
+ See https://github.com/Pylons/waitress/issues/359 and
+ https://github.com/Pylons/waitress/pull/363
+
- In Python 3 ``OSError`` is no longer subscriptable, this caused failures on
Windows attempting to loop to find an socket that would work for use in the
trigger.