def http_response(self, request, response): self.cookiejar.extract_cookies(response, request) return response