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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]