curl-library
Re: CURLOPT_HTTP_VERSION doesn't work?
Date: Fri, 9 Jan 2009 14:23:20 -0800
On Fri, Jan 09, 2009 at 05:08:10PM -0500, A. Craig West wrote:
> It appears that having a setting for this protocol is a worthwhile
> thing, as both seem to be used in the world at large, but there
> appears to be some other problem with our connection, at least when
> using protocol 1.0. So far the only differences I am seeing with the
> IE version are the Content-Length: 0 and Pragma: no-cache headers, and
> the actual length of the Proxy-Authorization header in IE is
> considerably longer. Those are all the case in the 1.1 case as well,
> but it works then...
What happens if you patch libcurl (or do it from the app) to add a
Content-Length: 0 header instead of changing the HTTP version number? That's
one of the key differences between 1.0 and 1.1, namely that Content-Length:
is optional in 1.1.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2009-01-09