def setSL(self, startline):
        sstartline = startline.split(None, 2)
        if len(sstartline) == 2:
            # Some brain-damaged UAs don't include reason in some cases
            self.sipver, scode = sstartline
            self.reason = 'Unspecified'
        else:
            self.sipver, scode, self.reason = startline.split(None, 2)
        self.scode = int(scode)
        if self.scode == 100 or self.scode >= 400:
            self.ignorebody = True
dataset/ETHPy150Open hgascon/pulsar/pulsar/core/sippy/SipResponse.py/SipResponse.setSL/original