(self, message=None)
| 197 | message = "unauthorized" |
| 198 | |
| 199 | def __init__(self, message=None): |
| 200 | status = "401 Unauthorized" |
| 201 | headers = {"Content-Type": "text/html"} |
| 202 | HTTPError.__init__(self, status, headers, message or self.message) |
| 203 | |
| 204 | |
| 205 | unauthorized = Unauthorized |