code: def parse_status_line(self, data):
          '''Parse the status line bytes.
  
          Returns:
              tuple: An tuple representing the method, URI, and
              version.
          '''
          match = re.match(
              br'([a-zA-Z]+)[ \t]+([^ \t]+)[ \t]+(HTTP/\d+\.\d+)',
              data
          )
          if match:
              groups = match.groups()
              if len(groups) == 3:
                  return wpull.string.to_str(
                      (groups[0], groups[1], groups[2]),
                      encoding=self.encoding,
                  )
  
          raise ProtocolError('Error parsing status line.'f parse_status_line(self, data):
          '''Parse the status line bytes.
  
          Returns:
              tuple: An tuple representing the method, URI, and
              version.
          '''
          match = re.match(
              br'([a-zA-Z]+)[ \t]+([^ \t]+)[ \t]+(HTTP/\d+\.\d+)',
              data
          )
          if match:
              groups = match.groups()
              if len(groups) == 3:
                  return wpull.string.to_str(
                      (groups[0], groups[1], groups[2]),
                      encoding=self.encoding,
                  )
  
          raise ProtocolError('Error parsing status line.')
docs: Parse the status line bytes.
  
          Returns:
              tuple: An tuple representing the method, URI, and
              version.