You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jan Bredereke <br...@informatik.uni-kl.de> on 1997/06/04 16:40:02 UTC
mod_mime/672: Incorrect content-type for `foo.ps.gz' and 'foo.ps.Z' files
>Number: 672
>Category: mod_mime
>Synopsis: Incorrect content-type for `foo.ps.gz' and 'foo.ps.Z' files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Jun 4 07:40:01 1997
>Originator: bredereke@informatik.uni-kl.de
>Organization:
apache
>Release: 1.1.3
>Environment:
Any
>Description:
(See also PR#665)
For any file with an extension such as `.ps.gz',
Apache returns
Content-Type: application/x-gzip
Content-Encoding: x-gzip
This is incorrect. The content-type should be
application/postscript.
>How-To-Repeat:
>Fix:
PR#665 proposes a source patch.
Alternatively, we can work around it if we just change the
(distribution) configuration files:
In file 'mime.types', we comment out the lines for 'application/x-gzip',
and also for 'application/x-compress'. They do not describe contents
but encondings. See also the 'AddEncoding' entries in file 'srm.conf
>Audit-Trail:
>Unformatted: