Skip to content

Commit 23af8c8

Browse files
author
Iván Ramos Muñoz
authored
Merge pull request #23 from ElevenPaths/bug/124405_problem_with_post_form_data
(resolves #124405) Wrong implementation sending form data.
2 parents 94f0abd + bdaa931 commit 23af8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tacyt_sdk/authorization/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def http_post_file(self, url, headers, file_stream, file_name, data=None):
235235
'application/octet-stream')}
236236
api_url = self.compose_url(url)
237237
res = requests.post(api_url, headers=headers, files=files,
238-
json=data, proxies=self.proxy)
238+
data=data, proxies=self.proxy)
239239
response = Response(json_string=res.content)
240240
res.raise_for_status()
241241
except requests.HTTPError as e:

0 commit comments

Comments
 (0)