You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/05/26 19:51:47 UTC
DO NOT REPLY [Bug 42525] New: - Content-Type: header f...ed up on 500 Internal Server Error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42525>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42525
Summary: Content-Type: header f...ed up on 500 Internal Server
Error
Product: Apache httpd-2
Version: 2.2.3
Platform: All
URL: http://backsla.sh/test/test.py
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: Robert.Siemer@gmx.de
Imagine a CGI script that does not work as expected and makes the Apache web
server respond with a 500 Internal Server Error. At least in this case (maybe
other 500, too) the server gets the Content-Type: header wrong:
Result:
HTTP/1.1 500 Internal Server Error
...
Content-Type: text/x-python
Expected:
...
Content-Type: text/html
It seems that the web server sets the Content-Type to the mime-type of the CGI
source file.
Even "ErrorDocument ..." with or without "ForceType text/html" have no influence.
Because of this, Firefox and other browsers offer a download dialog instead of
displaying the error...
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42525] - Content-Type: header f...ed up on 500 Internal Server Error
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42525>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42525
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From nick@webthing.com 2007-05-26 11:31 -------
Long overdue to apply the simple fix.
*** This bug has been marked as a duplicate of 39710 ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org