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

Commit c7f56b4

Browse files
committed
Remove duplicate statement.
1 parent 95002fb commit c7f56b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hyper/http20/stream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ def _handle_header_block(self, headers):
348348
body is sent. This method enforces the logic associated with this,
349349
storing the headers in the appropriate places.
350350
"""
351-
352351
# At this stage we should check for a provisional response (1XX). As
353352
# hyper doesn't currently support such responses, we'll leave that as a
354353
# TODO.
@@ -364,7 +363,7 @@ def _handle_header_block(self, headers):
364363
# Received too many headers blocks.
365364
raise ProtocolError("Too many header blocks.")
366365

367-
self.header_data = None
366+
return
368367

369368
def _send_chunk(self, data, final):
370369
"""

0 commit comments

Comments
 (0)