Commits

Robert Brewer committed 687ecb9

Fix for #778 (CherryPy 2.3.0 breaks on Python2.3).

  • Participants
  • Parent commits 46f729b
  • Branches cherrypy-2.x

Comments (0)

Files changed (1)

File cherrypy/_cpwsgiserver.py

             return
         self.environ["CONTENT_LENGTH"] = cl or ""
         
-        for k in headers:
+        for k in headers.keys():
             envname = "HTTP_" + k.upper().replace("-", "_")
             if k in comma_separated_headers:
                 self.environ[envname] = ", ".join(headers.getheaders(k))