Message377493
We internally tested the most recent PR and found some issues with it:
https://github.com/python/cpython/pull/21457#issuecomment-698845895
We ended up using a much simpler patch, which seems to work as expected.
--- Python-3.7.8/Lib/cgi.py
+++ Python-3.7.8/Lib/cgi.py
@@ -703,7 +703,10 @@
if not data:
self.done = -1
break
- self.file.write(data)
+ if self._binary_file:
+ self.file.write(data)
+ else:
+ self.file.write(data.decode())
todo = todo - len(data)
def read_lines(self): |
|
Date |
User |
Action |
Args |
2020-09-25 14:10:13 | kulikjak | set | recipients:
+ kulikjak, jackjansen, srittau, cito, ned.deily, ethan.furman, quentel, X-Istence, berker.peksag, Decorater, rr-, remi.lapeyre, watusimoto, Bert JW Regeer, Aron Podrigal, elgow, Fran Boon, Tim Nyborg2 |
2020-09-25 14:10:13 | kulikjak | set | messageid: <1601043013.66.0.337180727303.issue27777@roundup.psfhosted.org> |
2020-09-25 14:10:13 | kulikjak | link | issue27777 messages |
2020-09-25 14:10:13 | kulikjak | create | |
|