Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit a6852ad

Browse files
committed
Log header drop.
1 parent ff09efe commit a6852ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hyper/http20/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def putheader(self, header, argument, stream_id=None):
282282
# the call to `_get_stream` to ensure that we don't accidentally hide
283283
# bugs just because the user sent a connection header.
284284
if header.lower() == 'connection':
285+
log.debug('Ignoring connection header with value %s', argument)
285286
return
286287

287288
stream.add_header(header, argument)

0 commit comments

Comments
 (0)