cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Not enough files for URLs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Aug 2008 23:33:12 +0200 (CEST)

On Fri, 15 Aug 2008, Dan Fandrich wrote:

> Back in May, a problem was posted here by Von involving multiple uploads in
> a single command. The problem was eventually solved, but along the way I
> noticed another problem. If curl is invoked with a single -T option but two
> http URLs, the second PUT doesn't include a Content-Length: or
> Transfer-Encoding: chunked header, which is illegal. I've created test case
> 1065 to show this.

I think perhaps I would even argue that -T file URL1 URL2 would imply a GET
to be used for the second URL...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-08-19