cURL / Mailing Lists / curl-users / Single Mail

curl-users

HTTP CONNECT Version

From: Khoa Nguyen <khoa.coffee_at_gmail.com>
Date: Thu, 20 Oct 2005 17:32:18 -0400

Using curl, I am trying to GET a page. Things work fine but I don't
understand why the CONNECT method is HTTP/1.0 instead of HTTP/1.1

Below is the command:
curl --proxy 172.16.2.17:80 <http://172.16.2.17:80> -p http://www.google.com

cURL sends "CONNECT 172.16.2.17:80 <http://172.16.2.17:80> HTTP/1.0"

Why does it use HTTP/1.0? How can I force it to send HTTP/1.1 CONNECT if it
makes sense to do so?

Thanks,
Khoa
Received on 2005-10-20