Changeset 714fe82


Ignore:
Timestamp:
Jul 2, 2009 7:09:36 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5eec098
Parents:
1724e5b
Message:

Dont send X-Accept-Encoding when not proxied

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/EepGet.java

    r1724e5b r714fe82  
    923923        }
    924924        buf.append("Accept-Encoding: \r\n");
    925         buf.append("X-Accept-Encoding: x-i2p-gzip;q=1.0, identity;q=0.5, deflate;q=0, gzip;q=0, *;q=0\r\n");
     925        if (_shouldProxy)
     926            buf.append("X-Accept-Encoding: x-i2p-gzip;q=1.0, identity;q=0.5, deflate;q=0, gzip;q=0, *;q=0\r\n");
    926927        if (!_allowCaching) {
    927928            buf.append("Cache-control: no-cache\r\n");
Note: See TracChangeset for help on using the changeset viewer.