generalHeaders.put(header[0].toLowerCase(), header[1].trim());
}
final String[] elements = REQUEST_LINE_PATTERN.split(requestLine);
final HttpMethod method = HttpMethod.valueOf(elements[0]);
final HttpVersion version = HttpVersion.fromString(elements[2]);
final String[] pathFrags = QUERY_STRING_PATTERN.split(elements[1]);
final String requestedPath = pathFrags[0];
final String queryString = pathFrags.length == 2 ? pathFrags[1] : "";
// we put the buffer position where we found the beginning of the HTTP body