cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Passing proxy to curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Oct 2009 15:18:53 +0200 (CEST)

On Fri, 16 Oct 2009, Devranjan Das wrote:

> OpenSuse Zypper uses curl.

I believe it even uses libcurl, doesn't it?

> I am inside a proxy server. How do I pass proxy server to curl.

With -x, or an evironment variable like 'http_proxy'. But there's also several
different ones for various auth methods.

--
  / 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 2009-10-17