cURL / Mailing Lists / curl-users / Single Mail

curl-users

Sending an unbuffered PUT without chunked encoding

From: Charles Pritchard <chuck_at_jumis.com>
Date: Wed, 19 Nov 2014 17:30:19 -0800

How would I signal to CURL that I want to PUT data from STDIN without using
chunked encoding and without buffering?

Currently, -T triggers chunked encoding, I don't want that.

I already know the content length ahead of time, so I don't need curl
buffering the full data into memory as it does with --data-binary @-.

-Charles

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-20