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

Method __init__

authlib/integrations/flask_oauth2/errors.py:10–15  ·  view source on GitHub ↗
(self, code, body, headers, response=None)

Source from the content-addressed store, hash-verified

8
9 class _HTTPException(HTTPException):
10 def __init__(self, code, body, headers, response=None):
11 super().__init__(None, response)
12 self.code = code
13
14 self.body = body
15 self.headers = headers
16
17 def get_body(self, environ=None):
18 return self.body

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected