Changeset 167839b for core


Ignore:
Timestamp:
Feb 14, 2018 12:54:16 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a62c6a8
Parents:
c48796c0
Message:

i2ptunnel, eepget: Capitalize Cache-Control
Change POST throttle response to 429

Location:
core/java/src/net/i2p/util
Files:
2 edited

Legend:

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

    rc48796c0 r167839b  
    13631363        }
    13641364        if (!_allowCaching) {
    1365             buf.append("Cache-control: no-cache\r\n" +
     1365            buf.append("Cache-Control: no-cache\r\n" +
    13661366                       "Pragma: no-cache\r\n");
    13671367        }
  • core/java/src/net/i2p/util/PartialEepGet.java

    rc48796c0 r167839b  
    211211        buf.append("\r\n");
    212212
    213         buf.append("Cache-control: no-cache\r\n" +
     213        buf.append("Cache-Control: no-cache\r\n" +
    214214                   "Pragma: no-cache\r\n" +
    215215                   "Accept-Encoding: \r\n" +
Note: See TracChangeset for help on using the changeset viewer.