def _make_status(self):
        # HTTP/1.1 200 OK
        line = self._responseline
        try:
            [version, status, reason] = line.split(None, 2)
        except __HOLE__:
            try:
                [version, status] = line.split(None, 1)
                reason = ""
            except ValueError:
                raise BadStatusLineError(line)
        try:
            status = int(status)
            if status < 100 or status > 999:
                raise BadStatusLine(line)
        except ValueError:
            raise BadStatusLineError(line)
        try:
            version = float(version.split("/")[1])
        except (IndexError, ValueError):
            version = 0.9
        reason = reason.strip()
        reason = reason or httputils.STATUSCODES.get(status, "")
        self._responseline = None
        return ResponseLine(version, status, reason)
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py/HTTPResponse._make_status