cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: "curl and proxy headers"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 5 Apr 2014 17:11:31 +0200 (CEST)

On Sat, 5 Apr 2014, Alex Bligh wrote:

>> No, not right now. Is that something you use or would miss?
>
> I was concerned that scripts that use curl to authenticate to REST APIs (and
> insert headers for API versioning or auth) would suddenly stop sending the
> headers where a proxy was configured.

That is indeed what will happen. I'm just reluctant to add the same sort of
"keep old behavior" for curl that we do for libcurl since it would create such
a strange command line use.

One option could be to do it old style unless --proxy-header is used...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-05