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

Commit c5367d2

Browse files
author
ex3me0
authored
Fixed using str instead of bytes
1 parent f2070e9 commit c5367d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http11/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def parse_response(self, buffer):
5050
return None
5151

5252
version, status, reason = \
53-
(temp_buffer[0:index].split(None, 2) + [''])[:3]
53+
(temp_buffer[0:index].split(None, 2) + [b''])[:3]
5454
if not version.startswith(b'HTTP/1.'):
5555
raise ParseError("Not HTTP/1.X!")
5656

0 commit comments

Comments
 (0)