'Become ready to read an HTTP request'

def connection_ready(self):

    self.method = self.request_line = None
    self.response_protocol = self.request_protocol = HTTP1
    self.forwarded_for = None
    self.path = self.query = None
    self.close_after_response = False
    self.header_line_too_long_error_code = httplib.REQUEST_URI_TOO_LONG
    self.response_started = False
    self.set_state(READ, self.parse_request_line, Accumulator(), first=True)
