| 2337 | |
| 2338 | |
| 2339 | class HTTPResponse(Response, BottleException): |
| 2340 | def __init__(self, body='', status=None, headers=None, **more_headers): |
| 2341 | super(HTTPResponse, self).__init__(body, status, headers, **more_headers) |
| 2342 | |
| 2343 | def apply(self, other): |
| 2344 | other._status_code = self._status_code |
| 2345 | other._status_line = self._status_line |
| 2346 | other._headers = self._headers |
| 2347 | other._cookies = self._cookies |
| 2348 | other.body = self.body |
| 2349 | |
| 2350 | |
| 2351 | class HTTPError(HTTPResponse): |
no outgoing calls
no test coverage detected
searching dependent graphs…