Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 97850 invoked from network); 23 Apr 2010 15:19:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Apr 2010 15:19:16 -0000 Received: (qmail 2837 invoked by uid 500); 23 Apr 2010 15:19:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 2790 invoked by uid 500); 23 Apr 2010 15:19:16 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 2782 invoked by uid 99); 23 Apr 2010 15:19:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:19:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:19:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NFIqAZ011058 for ; Fri, 23 Apr 2010 15:18:52 GMT Message-ID: <10804203.161761272035932138.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 11:18:52 -0400 (EDT) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-745) use identity transfer for uncompressed attachments In-Reply-To: <24010290.78541271756345598.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-745: ---------------------------------- Attachment: 0001-use-start_response_length-when-Len-is-known.patch Return non-chunked encoding in all cases where exact response length is known. > use identity transfer for uncompressed attachments > -------------------------------------------------- > > Key: COUCHDB-745 > URL: https://issues.apache.org/jira/browse/COUCHDB-745 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Affects Versions: 0.11 > Reporter: Robert Newson > Attachments: 0001-identity.patch, 0001-use-start_response_length-when-Len-is-known.patch > > > Attached is a patch to use identity transfer encoding when attachments are not compressed. This re-adds an accurate Content-Length encoding which, if applied, is the only HTTP compliant way to find the length of an attachment (I think). the only other way at present is to read the document and parse the _attachments object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.