HTTPResponse.handleException should set the content type
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Zope 3 | Status tracked in 3.4 | |||||
3.4 |
Fix Released
|
Critical
|
Dmitry Vasiliev |
Bug Description
zope.publicatio
File ".../zope3/
File ".../zope3/
File ".../zope3/
File ".../zope3/
raise ValueError(
ValueError: Unicode results must have a text content type.
Suggested fix:
Index: var/src/
=======
--- var/src/
+++ var/src/
@@ -897,6 +897,7 @@
body = self._html(title, "A server error occurred." )
+ self.setHeader(
It needs a unit test before it can be applied.
Changed in zope3: | |
status: | Unconfirmed → Confirmed |
I ran into this issue as well, through http:// www.zope. org/Collectors/ Zope3-dev/ 558. See also some discussion there for details. Odd thing is I attempted the Content-Type fix, but had it not working for me. I'll try again.