Fix for wrong(?) httpheader:

" pragma: no-cache" (IIS specific?)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1578 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent a8eff9a0ae
commit 38e79aec94

@ -1679,6 +1679,9 @@ do upload
while ((b = serverCore.receive(httpc.this.clientInput, httpc.this.readLineBuffer, terminalMaxLength, false)) != null) {
if (b.length == 0) break;
buffer = new String(b);
if(buffer.charAt(0)==' '){ //fix for " pragma: no-cache" (IIS specific?)
buffer=buffer.substring(1, buffer.length());
}
//System.out.println("#H#" + buffer); // debug
if (buffer.charAt(0) <= 32) {
// use old entry

Loading…
Cancel
Save