cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP PUT again...

From: Daniel Stenberg <>
Date: Tue, 16 Dec 2003 15:08:10 +0100 (CET)

On Tue, 16 Dec 2003, martin hilpert wrote:

> > take that off-list if you're prepared to pay.

> ok how much does it cost and how fast can you do it?`

This is not off-list. ;-)

> i verbose the curl and i see that the curl.exe makes
> ">PUT /web/test/mysite%2htm HTTP/1.1"
> my app makes
> ">PUT /web/test/ HTTP/1.1"

... so what if you make your app to use a file name part in the request as
well? The -T option to the command line tool appends the file name to the
right-end of the URL.

> the curl set User-Agent: curl/7.10.8 <win32> libcurl/7.10.8 zlib/1.1.4
> in my app use no User-Agent ..

That might make a difference sure, but I'd put my money on that first one.

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
This email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now!
Received on 2003-12-16