You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Patrick O'Neill <pw...@speakeasy.net> on 2000/12/04 19:13:29 UTC

mod_jserv/6927: Servlets recieved with content-type application/octet stream regardless of what is defined.

>Number:         6927
>Category:       mod_jserv
>Synopsis:       Servlets recieved with content-type application/octet stream regardless of what is defined.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 04 10:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     pwoneill@speakeasy.net
>Release:        1.3.14
>Organization:
apache
>Environment:
SunOS irad-rms 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-250 
>Description:
Any servelets that I try to execute (including Hello and IsItWorking), are returned 
to me as application/octet-stream, even though the servlets correctly specify 
text/html.  Because it is application/octet-stream, my browser prompts me to save
the file.  If I open that file it has the correct output of the servelet, but
with binary characters added.

The default mime type for apache is text/plain so it's not just reverting to default.
>How-To-Repeat:
Behind a firewall or I would give you a URL.
>Fix:
Configuration issue?  The servelets are setting their content type properly but
apache is sending application/octet-stream instead.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]