cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP PUT again...

From: Daniel Stenberg <daniel-curl_at_haxx.se>
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 -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net 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! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-16