From 3dc5e96eacd4cc03b754f973bfb38e6559be3d47 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 11:10:16 +0000 Subject: - urpmi: o fix using proxy with curl (#38143) --- urpm/download.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm/download.pm') diff --git a/urpm/download.pm b/urpm/download.pm index 29a0275e..058b2abd 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -179,6 +179,7 @@ sub set_proxy { push @res, ('-x', $_->{ftp_proxy}) if defined $_->{ftp_proxy}; push @res, ('-U', "$_->{user}:$_->{pwd}") if defined $_->{user} && defined $_->{pwd}; + push @res, '-H', 'Pragma:' if @res; } last; }; -- cgit v1.2.1