diff --git a/CHANGES.txt b/CHANGES.txt index 8c99ac7a..c7f32ea4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/src/waitress/task.py b/src/waitress/task.py index 620bbdf6..258af23c 100644 --- a/src/waitress/task.py +++ b/src/waitress/task.py @@ -32,7 +32,7 @@ "proxy-authenticate", "proxy-authorization", "te", - "trailers", + "trailer", "transfer-encoding", "upgrade", )