Closed GoogleCodeExporter closed 8 years ago
Hi,
Thanks for the report. For now you can add this method to Response:
def write(self, text):
"""Appends a text to the response body."""
# webapp uses StringIO as Response.out, so we need to convert anything
# that is not str or unicode to string to keep same StringIO behavior.
if not isinstance(text, basestring):
text = str(text)
super(Response, self).write(text)
It'll be included in the next release.
Original comment by rodrigo.moraes
on 13 Aug 2010 at 8:28
This issue was closed by revision ac860e4927.
Original comment by rodrigo.moraes
on 13 Aug 2010 at 8:45
Original issue reported on code.google.com by
JDeibele
on 13 Aug 2010 at 6:12