mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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:
parent
38e79aec94
commit
5ef57211a6
|
@ -1679,9 +1679,7 @@ 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());
|
||||
}
|
||||
buffer=buffer.trim();
|
||||
//System.out.println("#H#" + buffer); // debug
|
||||
if (buffer.charAt(0) <= 32) {
|
||||
// use old entry
|
||||
|
|
Loading…
Reference in New Issue
Block a user