servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-25

Require that filters that modify the response body must address content length and range requests

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Filter/Servlet
    • Labels:
      None

      Description

      If a filter modifies the response body it may cause problems for a servlet if the servlets set a content length or respond correctly to range requests.

      The specification currently implies that wrapping the response is necessary if the response body is modified. This issue requests that filters that modify the response body are required to correctly handle (which will almost certainly mean wrapping the response) range requests and the content-length of the response.

        Activity

        markt_asf created issue -
        Rajiv Mordani made changes -
        Field Original Value New Value
        Assignee Rajiv Mordani [ mode ]
        Ed Burns made changes -
        Assignee Rajiv Mordani [ mode ]
        Ed Burns made changes -
        Component/s Filter/Servlet [ 15877 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            markt_asf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: