You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Felix von Leitner <le...@math.fu-berlin.de> on 1998/02/12 16:52:43 UTC
mod_negotiation/1793: Accept: text/html happily returns application/zip files.
>Number: 1793
>Category: mod_negotiation
>Synopsis: Accept: text/html happily returns application/zip files.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Feb 12 09:10:00 PST 1998
>Last-Modified:
>Originator: leitner@math.fu-berlin.de
>Organization:
apache
>Release: 1.2.5
>Environment:
Linux
>Description:
If I connect to my Apache server like this:
GET /foo.zip HTTP/1.0
Accept: text/html
It happily sends me the application/zip and even gives the content
type as application/zip. IIRC, earlier versions refused to serve the
file, which strikes me as the right thing to do.
>How-To-Repeat:
>Fix:
Have Apache return 406
>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 leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]