Skip to content

Commit

Permalink
removed referrer fake (too many complaints, too less use)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1444 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Jan 25, 2006
1 parent ad0de69 commit 47344e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/de/anomic/http/httpc.java
Expand Up @@ -734,13 +734,15 @@ private void send(String method, String path, httpHeader header, boolean zipped)
}

// 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)) {
Expand Down

0 comments on commit 47344e8

Please sign in to comment.