MCPcopy Create free account
hub / github.com/datapane/datapane / HTTPResponse

Class HTTPResponse

python-client/src/datapane/_vendor/bottle.py:1941–1950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1939
1940
1941class HTTPResponse(Response, BottleException):
1942 def __init__(self, body='', status=None, headers=None, **more_headers):
1943 super(HTTPResponse, self).__init__(body, status, headers, **more_headers)
1944
1945 def apply(self, other):
1946 other._status_code = self._status_code
1947 other._status_line = self._status_line
1948 other._headers = self._headers
1949 other._cookies = self._cookies
1950 other.body = self.body
1951
1952
1953class HTTPError(HTTPResponse):

Callers 2

mountpoint_wrapperMethod · 0.85
static_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected