code: def parse_header(cls, value='*/*'):
          
          yield from sorted((
              cls.from_string(token.strip())
              for token in value.split(',')
              if token.strip()
          ), reverse=True)
docs: Parse HTTP accept header and return instances sorted by weight.