1. Robert Pattinson
  2. CherryPy

Commits

Robert Brewer  committed f1326f6

Might as well expose the WSGI write callable.

  • Participants
  • Parent commits 76cfabe
  • Branches default

Comments (0)

Files changed (1)

File cherrypy/_cpwsgi.py

View file
             self.request = self.get_request()
             s, h, b = self.get_response()
             self.iter_response = iter(b)
-            self.start_response(s, h)
+            self.write = self.start_response(s, h)
         except self.throws:
             self.close()
             raise