Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ Unreleased
Bugfix
~~~~~~

- Renamed the HTTP header "Trailers" to "Trailer" to fix a typo and comply with
the correct header name as specified in RFC 7230.

- Waitress will now drop a request if the Transer-Encoding is set twice in the
request, previously it would decode the chunks and pass it along to the WSGI
application with an appropriate content length. See
https://github.com/Pylons/waitress/issues/465 and
https://github.com/Pylons/waitress/pull/474

- When encountering a request that has both Content-Length set and
Transfer-Encoding of chunked we now close the connection after it is
completed to comply with the requirements of RFC9112. See
Expand Down
2 changes: 1 addition & 1 deletion src/waitress/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"proxy-authenticate",
"proxy-authorization",
"te",
"trailers",
"trailer",
"transfer-encoding",
"upgrade",
)
Expand Down