cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PUT with digest auth, sends HEAD #1054859

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 2 Nov 2004 20:24:23 +0100 (CET)

On Wed, 27 Oct 2004, Daniel Stenberg wrote:

> Now what? We want to avoid having to send the whole file twice. I _think_
> the HEAD approach can still be used for POST since the URL exists already
> before the POST then, but we obviously need a new approach for PUT.

What would you say if we did a HEAD on the parent dir instead?

I honestly can't figure out any other way to avoid sending the whole contents
twice! I just can't understand how they thought this should work when they
wrote RFC2616.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-02