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) --- NEWS | 3 +++ urpm/download.pm | 1 + 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 0c6fecac..9f2cf62e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmi: + o fix using proxy with curl (#38143) + Version 5.6 - 26 February 2008, by Pascal "Pixel" Rigaux - urpmq: 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