pycurl-requests
pycurl-requests copied to clipboard
add support for streaming uploads
Hi all,
I happened to use streaming uploads with requests and curl a lot (using both individually but not in combination). So I felt like adding support for the data access protocols that requests supports to this cool project would a useful contribution.
The PR isn't ready yet and I hope to finish it soon. There are still a few sections that I have marked with TODO comments. I'm also not completely sure how the Content-Length header and libcurl's INFILESIZE_LARGE interact. Would be nice to have your opinion on this PR.
Fabian
Hi @fabian-paul,
Sorry! I only just noticed this PR (end-of-year was pretty crazy).
Supporting streaming uploads sounds like a great idea. I'll take a look over the PR tomorrow morning.
David