def to_header(self):
        """Convert the etags set into a HTTP header string."""
        if self.star_tag:
            return "*"
        return ", ".join(
            ['"%s"' % x for x in self._strong] + ['W/"%s"' % x for x in self._weak]
        )