def __str__(self):
        """Render the HTTP header value as a string."""
        p = [';%s=%s' % (k, v) for k, v in self.params.items()]
        return str('%s%s' % (self.value, ''.join(p)))
Render the HTTP header value as a string.
cherrypy/lib/httputil.py