mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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
This commit is contained in:
parent
ad7fcb9d61
commit
bcea497644
|
@ -504,7 +504,7 @@ public class HTTPClient {
|
||||||
private void setHeaders(final HttpUriRequest httpUriRequest) {
|
private void setHeaders(final HttpUriRequest httpUriRequest) {
|
||||||
if (headers != null) {
|
if (headers != null) {
|
||||||
for (final Header header : headers) {
|
for (final Header header : headers) {
|
||||||
httpUriRequest.addHeader(header);
|
httpUriRequest.setHeader(header);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (realm != null)
|
if (realm != null)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user