The condition in the checkCRLF method seems to be wrong. The && should be 
replaced by ||.

(This is from the 2.0 branch)


private void checkCRLF() throws IOException {
        final int cr = this.source.read();
        final int lf = this.source.read();

        if ((cr != '\r') && (lf != '\n')) {
            this.source.unread(lf);
            this.source.unread(cr);
        }
    }

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2685656

Reply via email to