Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 31569 invoked from network); 26 May 2007 17:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 May 2007 17:52:11 -0000 Received: (qmail 10633 invoked by uid 500); 26 May 2007 17:52:15 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 10352 invoked by uid 500); 26 May 2007 17:52:14 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 10334 invoked by uid 99); 26 May 2007 17:52:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 May 2007 10:52:14 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 May 2007 10:52:07 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 8745C71403F; Sat, 26 May 2007 10:51:47 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 42525] New: - Content-Type: header f...ed up on 500 Internal Server Error Message-ID: X-Bugzilla-Reason: AssignedTo Date: Sat, 26 May 2007 10:51:47 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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