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 13:24:26 +0100 (CET)

On Tue, 16 Dec 2003, martin hilpert wrote:

> > So, that's what the server responds to you. It doesn't mean libcurl or
> > your app does anything wrong.
>
> but the error is still there...

Yes, because your app sends a request the server refuse to serve.

> > Use VERBOSE or DEBUGFUNCTION to verify that the request is made the way
> > you want it, then check out the server logs and see why the server
> > responds this on the request your app sends.

> if i use the curl.exe -T c:\\mysite.htm 192.168.0.12/web/test/
> it works fine
>
> so i think the failure is in my code.

Right, and that's why my advice is: "Use VERBOSE or DEBUGFUNCTION to verify
that the request is made the way you want it".

-- 
    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