We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc9f98 commit ecb669aCopy full SHA for ecb669a
scripts/rest_client_patch.diff
@@ -1,8 +1,9 @@
1
diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py
2
-index 65fbe95..e174317 100644
+index 5716565df..b788bf7d2 100644
3
--- a/kubernetes/client/rest.py
4
+++ b/kubernetes/client/rest.py
5
-@@ -152,6 +152,10 @@ class RESTClientObject(object):
+@@ -151,7 +151,12 @@ class RESTClientObject(object):
6
+ if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
7
if query_params:
8
url += '?' + urlencode(query_params)
9
- if re.search('json', headers['Content-Type'], re.IGNORECASE):
0 commit comments