tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45419] New: Return Accept-Ranges from DefaultServlet
Date Thu, 17 Jul 2008 14:38:08 GMT

           Summary: Return Accept-Ranges from DefaultServlet
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

Currently the DefaultServlet accepts the "Ranges" request header, but doesn't
indicate this in its response by returning "Accept-Ranges: bytes". Although
this is not required in HTTP/1.1, setting the header is required in order for
the Adobe Acrobat plugin to correctly handle Linearized PDF's (which can speed
download by allowing random access to a PDF file).

Although it's not strictly necessary according to the specification I can't
think of any reason why this header is not safe to set in a response from
DefaultServlet, which is always dealing with static files, and not doing so has
a negative impact on serving large PDF files - so I'm filing it as a bug rather
than an RFE.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message