request.setLength(0);
} else if (endOfHeaders && request.length() == 0 && currChar != '\r' && currChar != '\n') {
// END OF HEADERS
if (iRequest.isMultipart) {
iRequest.content = "";
iRequest.multipartStream = new OHttpMultipartBaseInputStream(channel.inStream, currChar, contentLength);
return;
} else {
byte[] buffer = new byte[contentLength];
buffer[0] = (byte) currChar;