Commits

Jason R. Coombs  committed bea26e3

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

  • Participants
  • Parent commits d6db812

Comments (0)

Files changed (1)

File 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__())