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 2008/10/13 13:39:31 UTC

DO NOT REPLY [Bug 45996] New: MIME type case insentive for Tomcat and allow byte serving with HTTP response header

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

           Summary: MIME type case insentive for Tomcat and allow byte
                    serving with HTTP response header
           Product: Tomcat 5
           Version: 5.5.27
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: vitor.swaid@embraer.com.br


Hi,

On the dev-tomcat list I described in the topic "Byte Serving and PDFs with the
DefaultServlet" an issue that I had with Tomcat to serve PDFs.

Analysing the answers I could find that the matter was related to the case of
the file extension. Today Tomcat is case sensitive for MIME type extensions.

So the solution for me was enter two MIME specifications on the web.xml file.
One is for "pdf" and another one for "PDF".

This way I would like to ask for and request for enhancement to make Tomcat be
able to, due a setup on configuration file, consider or not case for MIME type
extensions.

About the HTTP response header, I would like to have "useAcceptRanges" Feature
as default for src.share.org.apache.catalina.servlets.DefaultServlet. It was
already added on Tomcat after 6.0.18.

Regards,

Vitor


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45996] MIME type case insentive for Tomcat and allow byte serving with HTTP response header

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





--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-10-13 04:58:32 PST ---
I've propose a backport of the Accept-Ranges fix for 5.5.x


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45996] MIME type case insentive for Tomcat and allow byte serving with HTTP response header

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





--- Comment #2 from Mark Thomas <ma...@apache.org>  2008-11-01 17:59:06 PST ---
Making MIME type matching case insensitive is an enhancement so I will change
the severity of this bug once the accept range fix has been applied


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45996] allow byte serving with HTTP response header

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


Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|MIME type case insentive for|allow byte serving with HTTP
                   |Tomcat and allow byte       |response header
                   |serving with HTTP response  |
                   |header                      |




--- Comment #3 from Konstantin Kolinko <kn...@gmail.com>  2009-01-02 08:37:58 PST ---
There are two issues in OP's report.

The 'making MIME type matching case insensitive' part of this issue is
addressed as bug #45995. Thus I narrowed the Summary.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45996] allow byte serving with HTTP response header

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


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

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




--- Comment #4 from Mark Thomas <ma...@apache.org>  2009-06-03 14:02:23 PST ---
This has been fixed in 5.5.x and will be included in 5.5.28 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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