[python] Remove post_params and body from OPTIONS request (#4163)

* Remove post_params and body from OPTIONS

* Empty commit to retrigger build
This commit is contained in:
Arun 2019-10-16 13:04:22 +05:30 committed by William Cheng
parent 1786e75490
commit 095fa719b3
3 changed files with 3 additions and 9 deletions

View File

@ -379,10 +379,8 @@ class ApiClient(object):
return self.rest_client.OPTIONS(url,
query_params=query_params,
headers=headers,
post_params=post_params,
_preload_content=_preload_content,
_request_timeout=_request_timeout,
body=body)
_request_timeout=_request_timeout)
elif method == "POST":
return self.rest_client.POST(url,
query_params=query_params,

View File

@ -372,10 +372,8 @@ class ApiClient(object):
return self.rest_client.OPTIONS(url,
query_params=query_params,
headers=headers,
post_params=post_params,
_preload_content=_preload_content,
_request_timeout=_request_timeout,
body=body)
_request_timeout=_request_timeout)
elif method == "POST":
return self.rest_client.POST(url,
query_params=query_params,

View File

@ -372,10 +372,8 @@ class ApiClient(object):
return self.rest_client.OPTIONS(url,
query_params=query_params,
headers=headers,
post_params=post_params,
_preload_content=_preload_content,
_request_timeout=_request_timeout,
body=body)
_request_timeout=_request_timeout)
elif method == "POST":
return self.rest_client.POST(url,
query_params=query_params,