From a831099e7821da4ace905775c120218c27599221 Mon Sep 17 00:00:00 2001 From: Bert JW Regeer Date: Mon, 17 Jan 2022 16:24:56 -0700 Subject: [PATCH] Add CHANGELOG for wsgi.file_wrapper seek/tell attrs --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 5ccaa642..1e078a9a 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.