I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 30c8cf7b authored by privateer's avatar privateer
Browse files

merge of 'c6af0acc022d4fc8e24488a86ab869d7cb561f57'

     and 'fafee42899e7efa42942bc451a888bf77be69ac9'
parents 5f52edf8 c43ca7de
No related branches found
No related tags found
No related merge requests found
...@@ -645,11 +645,11 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable ...@@ -645,11 +645,11 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
if (!Boolean.valueOf(getTunnel().getClientOptions().getProperty(PROP_USER_AGENT)).booleanValue()) { if (!Boolean.valueOf(getTunnel().getClientOptions().getProperty(PROP_USER_AGENT)).booleanValue()) {
// let's not advertise to external sites that we are from I2P // let's not advertise to external sites that we are from I2P
if (usingWWWProxy) if (usingWWWProxy)
newRequest.append("User-Agent: Wget/1.11.4\r\n"); newRequest.append("User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6\r\n");
else else
newRequest.append("User-Agent: MYOB/6.66 (AN/ON)\r\n"); newRequest.append("User-Agent: MYOB/6.66 (AN/ON)\r\n");
} }
newRequest.append("Connection: close\r\n\r\n"); newRequest.append("Connection: close\r\n\r\n");
break; break;
} else { } else {
newRequest.append(line).append("\r\n"); // HTTP spec newRequest.append(line).append("\r\n"); // HTTP spec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment