tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45419] New: Return Accept-Ranges from DefaultServlet
Date Thu, 17 Jul 2008 14:38:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45419

           Summary: Return Accept-Ranges from DefaultServlet
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mike@bfo.co.uk


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: 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


Mime
View raw message