From nobody@hyperreal.com Tue Apr 22 03:51:04 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id DAA04579; Tue, 22 Apr 1997 03:51:04 -0700 (PDT) Message-Id: <199704221051.DAA04579@hyperreal.com> Date: Tue, 22 Apr 1997 03:51:04 -0700 (PDT) From: Prashant Dongre Reply-To: pdongre@opentech.stpn.soft.net To: apbugs@hyperreal.com Subject: X-Send-Pr-Version: 3.2 >Number: 450 >Category: general >Synopsis: >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 22 04:00:01 1997 >Last-Modified: Thu Jan 22 09:19:48 PST 1998 >Originator: pdongre@opentech.stpn.soft.net >Organization: >Release: 1.2b8 >Environment: Linux >Description: I have script that pushes zip/gzip files after sending headers (Content-Disposition, Content-Length and Content-Type) The same script works fine with httpd 1.1 But when used with 1.2b8 the httpd server forces Content-Type : text/plain Due to this problem, the browser thinks it is receiving a plain text and starts showing it in the browser window. >How-To-Repeat: try http://www.esq.com/download/htm/demo.html >Fix: I tried sending header in multiple combinations, but server somehow forces "Content_Type : plain/text" directive at the end of header. I am properly terminating header by sending two carriege return, linefeed sequences. %0 >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: coar@decus.org State-Changed-When: Tue Apr 22 05:10:38 PDT 1997 State-Changed-Why: It sounds as though there may be a problem with how your script is sending the headers. Can you please mail the script source to me at ? Responsible-Changed-From-To: apache (Apache HTTP Project)-coar@decus.org Responsible-Changed-By: coar@decus.org Responsible-Changed-When: Tue Apr 22 05:10:38 PDT 1997 Responsible-Changed-Why: Changed to avoid collisions Category-Changed-From-To: os-linux-general Category-Changed-By: coar@decus.org Category-Changed-When: Tue Apr 22 05:10:38 PDT 1997 State-Changed-From-To: feedback-closed State-Changed-By: coar@decus.org State-Changed-When: Wed Apr 23 03:38:27 PDT 1997 State-Changed-Why: [Out-of-band solution: The problem was a leading space in some of the headers emitted by the script. Customer reports that removing these fixed the problem.] Thank you for using Apache! Responsible-Changed-From-To: coar@decus.org-apache Responsible-Changed-By: coar Responsible-Changed-When: Thu Jan 22 09:19:48 PST 1998 Responsible-Changed-Why: Putting back into mainstream bugdb >Unformatted: