Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-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 018ECF60D for ; Fri, 26 Apr 2013 07:02:25 +0000 (UTC) Received: (qmail 17981 invoked by uid 500); 26 Apr 2013 07:02:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 17517 invoked by uid 500); 26 Apr 2013 07:02:18 -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 16750 invoked by uid 99); 26 Apr 2013 07:02:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Apr 2013 07:02:15 +0000 Date: Fri, 26 Apr 2013 07:02:15 +0000 (UTC) From: "Sebastian Podjasek (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1779) Support of HTTP PATCH method to upload/update attachments in chunks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sebastian Podjasek created COUCHDB-1779: ------------------------------------------- Summary: Support of HTTP PATCH method to upload/update attachments in chunks Key: COUCHDB-1779 URL: https://issues.apache.org/jira/browse/COUCHDB-1779 Project: CouchDB Issue Type: Wish Components: Database Core, HTTP Interface Reporter: Sebastian Podjasek I'm wondering would it be possible to implement PATCH methods for document attachments. I'm currently facing a theoretical problem to upload large files over GSM network, my storage back-end is CouchDB with our own API served in front-end. I was thinking about few other solutions, but all of them involves some post processing of document after receiving last chunk, it would be great to just invoke this: PATCH /database/0519690fc465fc0e9cc0f89fa87973fc/bigfile.dat?_rev=13-c969cb72e5428ca2ccdd191e0cd7bf4b HTTP/1.1 Content-Type: application/octet-string Range: bytes=1200-1300 Content-Length: 100 What do you think about this. Is it theoretically possible. -- 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