Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-655

Chunked transfer encoding effectively disables browser caching

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.9.0 beta 1
    • OpenCMIS 0.9.0
    • opencmis-server
    • None

    Description

      OpenCMIS never sets the Content-length on HTTP responses, letting the app server use the default strategy of sending them with a "Transfer-encoding: chunked" header.
      While it's valid HTTP 1.1, it's not fully supported by e.g. some browsers and cache middleware, which handle such responses fine but fail to cache them.

      Please provide to either set the content-length at least in the getContentStream calls, or allow users to hook into the HTTP serialization process.

      Attachments

        Activity

          People

            Unassigned Unassigned
            skuro Carlo Sciolla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: