From bcea4976444412e06f14759fd7cbe06bb9d44304 Mon Sep 17 00:00:00 2001 From: sixcooler Date: Fri, 25 Feb 2011 01:16:15 +0000 Subject: [PATCH] next try to fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=3193&start=0&sid=b98aa9a7466397602b436eb45f4a9d39 tested proxy, crawl, updatedownload - please do further testing! git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7524 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/net/yacy/cora/protocol/http/HTTPClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/cora/protocol/http/HTTPClient.java b/source/net/yacy/cora/protocol/http/HTTPClient.java index c0d0b91c2..1014ceced 100644 --- a/source/net/yacy/cora/protocol/http/HTTPClient.java +++ b/source/net/yacy/cora/protocol/http/HTTPClient.java @@ -504,7 +504,7 @@ public class HTTPClient { private void setHeaders(final HttpUriRequest httpUriRequest) { if (headers != null) { for (final Header header : headers) { - httpUriRequest.addHeader(header); + httpUriRequest.setHeader(header); } } if (realm != null)