mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fixed typo in testenv/server/http/http_server.py
This commit is contained in:
parent
841efb0108
commit
f687547d6e
@ -1,3 +1,7 @@
|
|||||||
|
2014-11-21 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* server/http/http_server.py: Fixed typo Blackisted to Blacklisted
|
||||||
|
|
||||||
2014-11-19 Darshit Shah <darnir@gmail.com>
|
2014-11-19 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* Test-504.py: Add new test case to show how Wget handles 504 Gateway
|
* Test-504.py: Add new test case to show how Wget handles 504 Gateway
|
||||||
|
@ -336,7 +336,7 @@ class _Handler (BaseHTTPRequestHandler):
|
|||||||
for header_line in rej_headers:
|
for header_line in rej_headers:
|
||||||
header_recd = self.headers.get (header_line)
|
header_recd = self.headers.get (header_line)
|
||||||
if header_recd is not None and header_recd == rej_headers[header_line]:
|
if header_recd is not None and header_recd == rej_headers[header_line]:
|
||||||
self.send_error (400, 'Blackisted Header ' + header_line + ' received')
|
self.send_error (400, 'Blacklisted Header ' + header_line + ' received')
|
||||||
self.finish_headers ()
|
self.finish_headers ()
|
||||||
raise ServerError ("Header " + header_line + ' received')
|
raise ServerError ("Header " + header_line + ' received')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user