'Parse the next HTTP request start-line and message-headers.'

def parse_request(self):

    self.rfile.maxlen = self.max_request_header_size
    self.rfile.bytes_read = 0
    try:
        self._parse_request()
    except MaxSizeExceeded:
        self.simple_response('413    Request    Entity    Too    Large')
        return
