You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bagder, seems you didn't understand what I was trying to request in #1198 and closed the thread, so I will explain in other words.
I don't want curl to set headers for "--data-binary".
I'd like curl to send exact set of bytes to the server.
Technially it would be like:
If I add the option "--data-binary @largefile.zip!1073741823-2147483647"
then curl does:
seek(F, SEEK_SET, 1073741823);
read(F, $buf, 2147483647-1073741823+1);
The text was updated successfully, but these errors were encountered:
We don't keep feature requests open in the issue tracker, as they aren't really current issues. See https://curl.haxx.se/docs/bugs.html#TODO for an explanation how we use the tracker. Unfortunately, we're drowning in good ideas and it is always easy to bring more of those. Turning them into working and good code is however not as easy.
My suggestion for the short to medium term would be to write a small script that
creates an intermediary file on disk with the 1073741823-2147483647 content
uploads that file (with whatever set of custom headers that are necessary)