cURL / Mailing Lists / curl-users / Single Mail

curl-users

sending HTTP 1.0 PUT requests

From: Spam Here Please <spamhereplease_at_fastwebnet.it>
Date: Sun, 07 Feb 2010 09:48:27 +0100

Hello,
i need to send HTTP 1.0-compliant PUT requests with curl.
I've tried with:
    curl -0 -T myfile.ext -u username:password http://localhost/dir/
The headers are generated correctly, but the body is missing.
Is this a bug?

-------------------------------------------------------------------
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 2010-02-07