| 1939 | |
| 1940 | |
| 1941 | class 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 | |
| 1953 | class HTTPError(HTTPResponse): |
no outgoing calls
no test coverage detected