Issue #974 invalid

500 error without debug when Content-Type set to application/xhtml+xml

Anonymous created an issue

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.

Reported by arcriley@pysoy.org

Comments (1)

  1. Log in to comment