cURL / Mailing Lists / curl-library / Single Mail


Re: Content-Length header on CONNECT requests

From: Daniel Stenberg <>
Date: Tue, 26 Jun 2012 23:13:15 +0200 (CEST)

On Tue, 26 Jun 2012, Mark Aldred wrote:

> Here is the fix based on 7.25.0. Don't include any custom headers with a
> CONNECT request.

Yeah, that is tempting as adding them there certainly mostly add problems.

However, for example test 287 uses (and verifies) a user-agent there and such
a header does make some sense even in a CONNECT.

Thoughts? (Question open to everyone!)

List admin:
Received on 2012-06-26