trim was just too easy...

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1579 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
allo 2006-02-08 18:48:38 +00:00
parent 38e79aec94
commit 5ef57211a6

View File

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