Ticket #8765: modpython.8693.diff
File modpython.8693.diff, 614 bytes (added by , 16 years ago) |
---|
-
core/handlers/modpython.py
190 190 signals.request_finished.send(sender=self.__class__) 191 191 192 192 # Convert our custom HttpResponse object back into the mod_python req. 193 req.content_type = response['Content-Type']193 req.content_type = str(response['Content-Type']) 194 194 for key, value in response.items(): 195 195 if key != 'content-type': 196 196 req.headers_out[str(key)] = str(value)