1
0
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:
Tim Rühsen 2014-11-21 16:19:23 +01:00
parent 841efb0108
commit f687547d6e
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* Test-504.py: Add new test case to show how Wget handles 504 Gateway

View File

@ -336,7 +336,7 @@ class _Handler (BaseHTTPRequestHandler):
for header_line in rej_headers:
header_recd = self.headers.get (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 ()
raise ServerError ("Header " + header_line + ' received')