MCPcopy Index your code
hub / github.com/kubernetes-client/python / getheaders

Method getheaders

kubernetes/client/rest.py:41–43  ·  view source on GitHub ↗

Returns a dictionary of the response headers.

(self)

Source from the content-addressed store, hash-verified

39 self.data = resp.data
40
41 def getheaders(self):
42 """Returns a dictionary of the response headers."""
43 return self.urllib3_response.getheaders()
44
45 def getheader(self, name, default=None):
46 """Returns a given response header."""

Callers 3

__init__Method · 0.45
__call_apiMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected