cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question regarding cURL and libcurl features

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 24 Jan 2001 08:20:04 +0100 (MET)

On Tue, 23 Jan 2001, Bob Schader wrote:

[Thanks for being patient and for keeping up the faith. I need people to keep
bugging me about things to make some of those features to really happen.]

> I am writing this now to ask again if this capability is available yet. I
> have recently tried a version of curl up in the 7.x range and it would
> not resume a put request, it sent the whole file.

Right. That feature has not been added. It is mentioned in the TODO file as
something I would like to see get added.

> The reason I ask is that I have contacted the author of mod-dav, Greg
> Stein, and he told me that the put handler built into webdav already has
> support for this built into it, but that he is not aware of any dav
> clients that support it.

mod-dav, is used for regular HTTP requests? I thought that was for webdav
operations and curl doesn't do any webdav stuff (yet).

> So, if it is currently not incorporated into curl, I would propose that
> it be added. I can offer some help, mostly in the form of a mod-dav
> server for testing, my c programming is quite rusty otherwise I would
> also offer to try my hand at some of the programming.

As always, this would be quicker implemented if I would get someone to help
me make this come true. I'm always ready to assist and join in but my time is
still limited.

Ok, if you would help us with some early grunt work (step 1 and 2 below) I'll
do the necessary C hack (step 3) unless anyone else steps forward. Step 4
could be a collaboration, step 5 is easy and I know I can fix step 6
myself... ;-)

What about this schedule:

1. Find out how to do the resumed POST (PUT?)

   Do we use the ETag header somehow or how do we first request the size of
   the object before we know how large range we should post?

   Do we send a byte-range in the same manner that we receive byte-ranges?

2. Set an interface. Maybe the already existing options cover this?

3. Implement this

4. Write a few test cases for the test suite

5. Document it

6. Release new curl package.

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