Skip to content
Snippets Groups Projects
Commit fb221ac0 authored by Wannes Rombouts's avatar Wannes Rombouts
Browse files

Fixed typo in http error codes.

parent 316279b4
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ class BadRequest(web.webapi.HTTPError): ...@@ -54,7 +54,7 @@ class BadRequest(web.webapi.HTTPError):
"""`400 Bad Request` error.""" """`400 Bad Request` error."""
def __init__(self, message="bad request"): def __init__(self, message="bad request"):
self.message = message self.message = message
status = '404 Bad Request' status = '400 Bad Request'
headers = {'Content-Type': 'text/html'} headers = {'Content-Type': 'text/html'}
web.webapi.HTTPError.__init__(self, status, headers, message) web.webapi.HTTPError.__init__(self, status, headers, message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment