Fix this by using lower() before compare
This commit is contained in:
parent
cb5db8c149
commit
a8ac414ab5
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class CurlHTTPFetcher(HTTPFetcher):
|
||||||
|
|
||||||
# Remove the status line from the beginning of the input
|
# Remove the status line from the beginning of the input
|
||||||
unused_http_status_line = header_file.readline().lower ()
|
unused_http_status_line = header_file.readline().lower ()
|
||||||
while unused_http_status_line.startswith('http/1.1 1'):
|
while unused_http_status_line.lower().startswith('http/1.1 1'):
|
||||||
unused_http_status_line = header_file.readline()
|
unused_http_status_line = header_file.readline()
|
||||||
unused_http_status_line = header_file.readline()
|
unused_http_status_line = header_file.readline()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue