Commits

Jason R. Coombs committed bea26e3

Fixed issue in HeaderElement.__str__ where it could sometimes return a non-native string.

Comments (0)

Files changed (1)

cherrypy/lib/httputil.py

 
     def __str__(self):
         p = [";%s=%s" % (k, v) for k, v in iteritems(self.params)]
-        return "%s%s" % (self.value, "".join(p))
+        return str("%s%s" % (self.value, "".join(p)))
 
     def __bytes__(self):
         return ntob(self.__str__())