Gustavo Picon  committed 19c7d13

Reverted a small block of code introduced in r7d778c3. Fixes CP4 tests.

@fumanchu made a lot of changes in r7d778c3 to make cheroot’s tests
pass. With this commit, we are reverting a small part of that patch,
to what actually is in CherryPy 3.2.x.

  • Participants
  • Parent commits fc0631e

Comments (0)

Files changed (1)

File cheroot/

         if self.ready and not self.sent_headers:
             self.sent_headers = True
-            if not self.send_headers():
-                self.close_connection = True
-                return
+            self.send_headers()
         if self.chunked_write:
             write(self.conn.wfile, b"0\r\n\r\n")