We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ccf17 commit d91a39aCopy full SHA for d91a39a
kubernetes/client/rest.py
@@ -39,10 +39,7 @@ def __init__(self, resp):
39
self.reason = resp.reason
40
self.data = resp.data
41
42
- def getheaders(self):
43
- """Returns a dictionary of the response headers."""
44
- return self.urllib3_response.getheaders()
45
-
+
46
def getheader(self, name, default=None):
47
"""Returns a given response header."""
48
return self.urllib3_response.getheader(name, default)
0 commit comments