cURL / Mailing Lists / curl-library / Single Mail

curl-library

Content-Length header on CONNECT requests

From: Mark Aldred <mark_at_twinstrata.com>
Date: Tue, 26 Jun 2012 09:12:49 -0400

When using a proxy and issuing a request that contains a
content-length header, lib-curl includes the content-length header in
the CONNECT request (if a CONNECT is needed). Some proxies reject
this with a 400 (Bad Request). I have seen it with Bluecoat. This
seems like a bug in curl. Other than changing the curl code, how can
I avoid this?

reference: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6356776
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-26