Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80CEC10FBB for ; Wed, 8 May 2013 07:53:25 +0000 (UTC) Received: (qmail 74233 invoked by uid 500); 8 May 2013 07:53:25 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 73928 invoked by uid 500); 8 May 2013 07:53:19 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 73582 invoked by uid 99); 8 May 2013 07:53:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 07:53:17 +0000 Date: Wed, 8 May 2013 07:53:17 +0000 (UTC) From: "Carlo Sciolla (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-655) Chunked transfer encoding effectively disables browser caching MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Carlo Sciolla created CMIS-655: ---------------------------------- Summary: Chunked transfer encoding effectively disables browser caching Key: CMIS-655 URL: https://issues.apache.org/jira/browse/CMIS-655 Project: Chemistry Issue Type: Bug Components: opencmis-server Affects Versions: OpenCMIS 0.9.0 beta 1 Reporter: Carlo Sciolla 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira