'Parse response body.
:return: Parsed body.
:rtype: ``str``'

def parse_body(self):

    if self._code_response(self.body):
        codes = re.split('\r?\n', self.body)
        for code in codes:
            if (code in OK_CODES):
                continue
            elif (code in ERROR_CODES):
                exception = ERROR_CODE_TO_EXCEPTION_CLS.get(code)
                if (code in ['411', '412', '413']):
                    server = int(code[2])
                    raise exception(server, self.status)
                raise exception(self.status)
    return self.body
