curl-library
Re: Why are PUT's in libcurl are defaulting to HTTP/1.0
Date: Mon, 19 Feb 2001 23:09:06 +0100 (MET)
On Mon, 19 Feb 2001, Bob Schader wrote:
> I was just wondering why it seems that the PUT's I am doing with libcurl
> are being requested using HTTP/1.0? I thought that Content-Ranges (for
> resuming) were only supported on HTTP/1.1, but they still appear to be
> working properly using mod-dav as the PUT handler. Just thought I would
> mention it.
libcurl always uses HTTP/1.0 for all requests. The reason is simple: it
works. Using 1.1 at all times doesn't work. I have read the standards and
what clients are assumed to send in requests and I believe curl is doing
right. (I really can't remember any details right now.)
This will change however (the 1.0 part, not about being right! :-). The
current work of adding multiple connection support will force libcurl to
start using HTTP/1.1 requests, if nothing else.
-- 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-libraryReceived on 2001-02-19