pycurl-requests icon indicating copy to clipboard operation
pycurl-requests copied to clipboard

add support for streaming uploads

Open fabian-paul opened this issue 2 years ago • 1 comments

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

fabian-paul avatar Dec 04 '22 17:12 fabian-paul

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

dcoles avatar Jan 06 '23 07:01 dcoles