Skip to content

Replace StreamingHTTPAdapter by requests-toolbelt's MultipartEncoder#22

Open
jpiron wants to merge 2 commits intoeofs:masterfrom
jpiron:master
Open

Replace StreamingHTTPAdapter by requests-toolbelt's MultipartEncoder#22
jpiron wants to merge 2 commits intoeofs:masterfrom
jpiron:master

Conversation

@jpiron
Copy link
Contributor

@jpiron jpiron commented Jun 13, 2016

No description provided.

Jonathan Piron added 2 commits June 13, 2016 12:25
timeout=self.proxy_settings.TIMEOUT,
verify=verify_ssl,
cookies=cookies)
if not type(data) is str and bool(data):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if you have files but not data, doesn't this solution drop the files from the request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants