code: def _cookie_parse_impl(b):
      
      i = 0
      n = len(b)
  
      while i < n:
          match = _cookie_re.search(b + b';', i)
          if not match:
              break
  
          key = match.group('key').strip()
          value = match.group('val')
          i = match.end(0)
  
          # Ignore parameters.  We have no interest in them.
          if key.lower() not in _cookie_params:
              yield _cookie_unquote(key), _cookie_unquote(value)
docs: Lowlevel cookie parsing facility that operates on bytes.