You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/01/01 19:35:40 UTC

[Bug 55946] New: Add sample filter for serving pre-compressed files by merely adding "Content-Encoding" to response headers

https://issues.apache.org/bugzilla/show_bug.cgi?id=55946

            Bug ID: 55946
           Summary: Add sample filter for serving pre-compressed files by
                    merely adding "Content-Encoding" to response headers
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Examples
          Assignee: dev@tomcat.apache.org
          Reporter: chris@christopherschultz.net

Certain pre-compressed resources need only Content-Encoding:gzip set in output
headers (e.g. .svgz files).

Ref: http://markmail.org/thread/oatgj63lrgc4kvh6

In that thread, markt proposed a Filter that could be used as a basis.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55946] Add sample filter for serving pre-compressed files by merely adding "Content-Encoding" to response headers

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55946

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
*** Bug 55945 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55946] Add sample filter for serving pre-compressed files by merely adding "Content-Encoding" to response headers

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55946

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
I don't think there is enough demand for this feature to add an example filter
to the distribution. My example filter [1] isn't going anywhere. A better
solution might be to create an area on the wiki (I though we already had one
but couldn't find it) for sample code like this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55946] Add sample filter for serving pre-compressed files by merely adding "Content-Encoding" to response headers

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55946

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> ---
Okay. Your filter did have a flaw in it that needed to be corrected. I'll see
if I can find a home for it on the Wiki.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org