We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1971b2f commit 52d4f9fCopy full SHA for 52d4f9f
kubernetes/client/api_client.py
@@ -199,7 +199,7 @@ def __call_api(
199
200
response_type = response_types_map.get(response_data.status, None)
201
202
- if six.PY3 and response_type not in ["file", "bytes"]:
+ if six.PY3 and response_type not in ["file", "bytes", "str"]:
203
match = None
204
content_type = response_data.getheader('content-type')
205
if content_type is not None:
0 commit comments