cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLPROXY_HTTP_1_0 does not affect protocol version (still HTTP/1.1)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 19 Apr 2011 11:19:29 -0700

On Tue, Apr 19, 2011 at 12:43:03PM +0400, tetetest tetetest wrote:
> After some experiments with proxy types and CURLPROXY_HTTP_1_0, I
> found that it does not change the protocol version for plain HTTP
> proxies.
> It only works for proxy tunnels (when CURLOPT_HTTPPROXYTUNNEL is set
> to 1). Look:

I suspect that's by design. Normal HTTP proxies are more transparent
to HTTP, so the normal HTTP version option should take affect for
them. Try setting the CURLOPT_HTTP_VERSION option and see if that
changes the version.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-19