Skip to content

Commit

Permalink
Merge pull request #23 from ElevenPaths/bug/124405_problem_with_post_…
Browse files Browse the repository at this point in the history
…form_data

(resolves #124405) Wrong implementation sending form data.
  • Loading branch information
Iván Ramos Muñoz authored Jun 4, 2020
2 parents 94f0abd + bdaa931 commit 23af8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tacyt_sdk/authorization/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def http_post_file(self, url, headers, file_stream, file_name, data=None):
'application/octet-stream')}
api_url = self.compose_url(url)
res = requests.post(api_url, headers=headers, files=files,
json=data, proxies=self.proxy)
data=data, proxies=self.proxy)
response = Response(json_string=res.content)
res.raise_for_status()
except requests.HTTPError as e:
Expand Down

0 comments on commit 23af8c8

Please sign in to comment.