MCPcopy Create free account
hub / github.com/webpy/webpy / __init__

Method __init__

web/webapi.py:185–188  ·  view source on GitHub ↗
(self, message=None)

Source from the content-addressed store, hash-verified

183 message = "bad request"
184
185 def __init__(self, message=None):
186 status = "400 Bad Request"
187 headers = {"Content-Type": "text/html"}
188 HTTPError.__init__(self, status, headers, message or self.message)
189
190
191badrequest = BadRequest

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected