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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

Reply via email to