i2ptunnel, eepget: Capitalize Cache-Control

Change POST throttle response to 429
This commit is contained in:
zzz
2018-02-14 12:54:16 +00:00
parent c48796c0f4
commit 167839b267
27 changed files with 51 additions and 50 deletions

View File

@@ -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;

View File

@@ -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");