cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Test of resuming PUT's with curl and mod-dav

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Jan 2001 08:26:13 +0100 (MET)

On Sat, 27 Jan 2001, Bob Schader wrote:

> I have this working now in my java test app!

So, when I resume the upload of the 2661 bytes README file, using the
command:

% ../src/curl -T README -C 2500 http://localhost:8980/poo

The HTTP produced will look like:

--- start ---
PUT /poo HTTP/1.0
Content-Range: bytes 2500-2660/2661
User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6)
(krb4 enabled)
Host: localhost:8980
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 161

[161 bytes body removed]
--- end ---

Is that right? This is what the current CVSed sources do...

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-01-29