'Return object (request or response).'

def get_object(self):

    head = self.startLine
    for header in self._header_store:
        head += (((header[0] + ':') + header[1]) + CRLF)
    if self.is_request:
        return http_request_parser(head, self._raw.get_text())
    else:
        raise Exception('HttpResponseParser    is    not    implemented')
