Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 33085 invoked from network); 20 Apr 2010 09:39:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 09:39:36 -0000 Received: (qmail 35833 invoked by uid 500); 20 Apr 2010 09:39:36 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 35141 invoked by uid 500); 20 Apr 2010 09:39:34 -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 34904 invoked by uid 99); 20 Apr 2010 09:39:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 09:39:29 +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; Tue, 20 Apr 2010 09:39:27 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3K9d5k6008273 for ; Tue, 20 Apr 2010 09:39:05 GMT Message-ID: <24010290.78541271756345598.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 05:39:05 -0400 (EDT) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Created: (COUCHDB-745) use identity transfer for uncompressed attachments 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 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 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.