Skip to content

Commit dd9f1a7

Browse files
remdubkgaughan
authored andcommitted
fix: typo in trailer http header
1 parent 852de0e commit dd9f1a7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ Unreleased
44
Bugfix
55
~~~~~~
66

7+
- Renamed the HTTP header "Trailers" to "Trailer" to fix a typo and comply with
8+
the correct header name as specified in RFC 7230.
9+
710
- Waitress will now drop a request if the Transer-Encoding is set twice in the
811
request, previously it would decode the chunks and pass it along to the WSGI
912
application with an appropriate content length. See
1013
https://github.com/Pylons/waitress/issues/465 and
1114
https://github.com/Pylons/waitress/pull/474
12-
15+
1316
- When encountering a request that has both Content-Length set and
1417
Transfer-Encoding of chunked we now close the connection after it is
1518
completed to comply with the requirements of RFC9112. See

src/waitress/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"proxy-authenticate",
3333
"proxy-authorization",
3434
"te",
35-
"trailers",
35+
"trailer",
3636
"transfer-encoding",
3737
"upgrade",
3838
)

0 commit comments

Comments
 (0)