cURL / Mailing Lists / curl-library / Single Mail

curl-library

Duplicate User-Agent on CONNECT

From: Michael Wallner <mike_at_iworks.at>
Date: Mon, 29 Jan 2007 09:57:23 +0100

Hi,

recent libcurl sends a duplicate User-Agent header, if a custom User-Agent
header was defined and an HTTPS request over PROXY is issued.

CONNECT host:443 HTTP/1.0
Host: host:443
User-Agent: set with CURLOPT_USERAGENT
Proxy-Connection: Keep-Alive
User-Agent: custom header

GET /url HTTP/1.1
Host: host
Accept: */*
User-Agent: custom header

Regards,

-- 
Michael
Received on 2007-01-29