private HttpResponse GetResponse(HttpConnection connection) { HttpResponse response = connection.ReceiveResponseHeaders(); m_cookieStore.ReadCookiesFromResponse(response); connection.ReceiveResponseEntity(response); // for response code 100 we expect another http message to arrive later if (response.ResponseCode != 100) { connection.CheckKeepAlive(response); } return(response); }