forked from I2P_Developers/i2p.i2p
i2ptunnel, eepget: Capitalize Cache-Control
Change POST throttle response to 429
This commit is contained in:
@@ -1362,7 +1362,7 @@ public class EepGet {
|
||||
buf.append("-\r\n");
|
||||
}
|
||||
if (!_allowCaching) {
|
||||
buf.append("Cache-control: no-cache\r\n" +
|
||||
buf.append("Cache-Control: no-cache\r\n" +
|
||||
"Pragma: no-cache\r\n");
|
||||
}
|
||||
boolean uaOverridden = false;
|
||||
|
||||
@@ -210,7 +210,7 @@ public class PartialEepGet extends EepGet {
|
||||
buf.append(_fetchSize - 1);
|
||||
buf.append("\r\n");
|
||||
|
||||
buf.append("Cache-control: no-cache\r\n" +
|
||||
buf.append("Cache-Control: no-cache\r\n" +
|
||||
"Pragma: no-cache\r\n" +
|
||||
"Accept-Encoding: \r\n" +
|
||||
"Connection: close\r\n");
|
||||
|
||||
Reference in New Issue
Block a user