Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

removed referrer fake (too many complaints, too less use)

orbiter47344e8df024
diff --git a/source/de/anomic/http/httpc.java b/source/de/anomic/http/httpc.java
index 248e8a642..93ad686f3 100644
--- a/source/de/anomic/http/httpc.java
+++ b/source/de/anomic/http/httpc.java
@@ -734,13 +734,15 @@ public final class httpc {
}
// advertise a little bit...
+ /*
if ( (!(header.containsKey(httpHeader.REFERER))) || (((String) header.get(httpHeader.REFERER)).trim().length() == 0)&& useYacyReferer ) {
header.put(httpHeader.REFERER,
(((System.currentTimeMillis() >> 10) & 1) == 0) ?
"http://www.anomic.de" :
"http://www.yacy.net/yacy");
}
-
+ */
+
// stimulate zipping or not
// we can unzip, and we will return it always as unzipped, unless not wanted
if (header.containsKey(httpHeader.ACCEPT_ENCODING)) {