protected bool ParseLinearWhiteSpace() { if (c == HttpChar.SP || c == HttpChar.HT) { sb.Append((char)c); c = TextStore.ReadChar(); return(true); } else if (c == HttpChar.CR) { c = TextStore.ReadChar(); if (c == HttpChar.LF) { c = TextStore.ReadChar(); } else { TextStore.UnreadChar(c); c = HttpChar.CR; return(false); } if (c == HttpChar.SP || c == HttpChar.HT) { sb.Append('\r'); sb.Append('\n'); sb.Append((char)c); c = TextStore.ReadChar(); return(true); } else { TextStore.UnreadChars(HttpChar.LF, c); c = HttpChar.CR; return(false); } } else { return(false); } }