MCPcopy Index your code
hub / github.com/prometheus/client_python / get_all_response_headers

Method get_all_response_headers

tests/test_asgi.py:69–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 return outputs
68
69 def get_all_response_headers(self):
70 outputs = self.get_all_output()
71 response_start = next(o for o in outputs if o["type"] == "http.response.start")
72 return response_start["headers"]
73
74 def get_response_header_value(self, header_name):
75 response_headers = self.get_all_response_headers()

Callers 1

Calls 1

get_all_outputMethod · 0.95

Tested by

no test coverage detected