[CherryPy] #974: 500 error without debug when Content-Type set to application/xhtml+xml

3 views
Skip to first unread message

CherryPy

unread,
Nov 27, 2009, 8:15:32 PM11/27/09
to cherrypy...@googlegroups.com
#974: 500 error without debug when Content-Type set to application/xhtml+xml
--------------------------------+-------------------------------------------
Reporter: arcr...@pysoy.org | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Keywords:
--------------------------------+-------------------------------------------
I have cherrypy for Python 3.1 running under Apache using WSGI

This line causes a 500 server failure without debug to my error logs;
cherrypy.response.headers['Content-Type'] = "application/xhtml+xml"

This line works fine:
cherrypy.response.headers['Content-Type'] = "text/xml"

I've looked through the cherrypy code, but can't figure out where this
error is coming from or why it's not giving a traceback to my error log as
it would usually.

--
Ticket URL: <http://www.cherrypy.org/ticket/974>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework
Reply all
Reply to author
Forward
0 new messages