Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d91a39a

Browse filesBrowse files
Remove deprecated function
1 parent b7ccf17 commit d91a39a
Copy full SHA for d91a39a

File tree

1 file changed

+1
-4
lines changed
Filter options

1 file changed

+1
-4
lines changed

‎kubernetes/client/rest.py

Copy file name to clipboardExpand all lines: kubernetes/client/rest.py
+1-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ def __init__(self, resp):
3939
self.reason = resp.reason
4040
self.data = resp.data
4141

42-
def getheaders(self):
43-
"""Returns a dictionary of the response headers."""
44-
return self.urllib3_response.getheaders()
45-
42+
4643
def getheader(self, name, default=None):
4744
"""Returns a given response header."""
4845
return self.urllib3_response.getheader(name, default)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.