[jetty-dev] [jira] (JETTY-1409) GzipFilter will double-compress application/x-gzip content

"Jan Bartel (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.jetty.general
Message-ID <1142815016.45782.1330666803000.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
     [ https://jira.codehaus.org/browse/JETTY-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Bartel reassigned JETTY-1409:
---------------------------------

    Assignee: Jan Bartel  (was: Joakim Erdfelt)
    
> GzipFilter will double-compress application/x-gzip content
> ----------------------------------------------------------
>
>                 Key: JETTY-1409
>                 URL: https://jira.codehaus.org/browse/JETTY-1409
>             Project: Jetty
>          Issue Type: Bug
>    Affects Versions: 6.1.26
>            Reporter: Nick Pellow
>            Assignee: Jan Bartel
>
> The GzipFilter only excludes zipping mime-types of application/gzip.
> If a file is of type application/x-gzip it gets double-zipped, and needs to be uncompressed twice on the client.
> The following is from the Javadoc on GzipFilter:
> {quote}
>  * The content-type is in the comma separated list of mimeTypes set in the <code>mimeTypes</code> initParameter or
>  * if no mimeTypes are defined the content-type is not "application/gzip"
>  
> {quote}
> This should be extended to:
> {quote}
>  * if no mimeTypes are defined the content-type is not "application/gzip" or *"application/x-gzip"*
> {quote}
> application/x-gzip is the official mime-type for compressed files.
> And this is also what most clients will use when sending files to the server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.