Skip to content

Commit 7fd910a

Browse files
committed
fix content type bug
1 parent 15c22a4 commit 7fd910a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubesys/http_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def doCreateRequestWithConfig(url, config, method, stream,body=None):
6262
verify=pem, cert=(ca, key),stream=stream)
6363

6464

65-
def getHeaderAndBody(token, body):
65+
def getHeaderAndBody(token, body,method):
6666
if token is None:
6767
header = {
6868
"Accept": "*/*",

0 commit comments

Comments
 (0)