MCPcopy
hub / github.com/django/django / get_response

Method get_response

tests/middleware/tests.py:557–561  ·  view source on GitHub ↗
(self, req)

Source from the content-addressed store, hash-verified

555 self.resp_headers = {}
556
557 def get_response(self, req):
558 resp = self.client.get(req.path_info)
559 for key, value in self.resp_headers.items():
560 resp[key] = value
561 return resp
562
563 # Tests for the ETag header
564

Callers

nothing calls this directly

Calls 5

HttpResponseClass · 0.90
getMethod · 0.45
itemsMethod · 0.45
set_cookieMethod · 0.45

Tested by

no test coverage detected