Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 23906 invoked from network); 2 Nov 2009 21:31:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 21:31:22 -0000 Received: (qmail 49070 invoked by uid 500); 2 Nov 2009 21:31:21 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 49003 invoked by uid 500); 2 Nov 2009 21:31:21 -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 48993 invoked by uid 99); 2 Nov 2009 21:31:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 21:31:21 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 21:31:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D6B9234C052 for ; Mon, 2 Nov 2009 13:30:59 -0800 (PST) Message-ID: <339313779.1257197459371.JavaMail.jira@brutus> Date: Mon, 2 Nov 2009 21:30:59 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-289) _all_docs should support both GET and POST In-Reply-To: <966716656.1236819110424.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Kocoloski updated COUCHDB-289: ----------------------------------- Component/s: HTTP Interface I'm +1 on this. Also if the keys are passed in the query-string it gives us a chance to throw '414 Request-URI Too Long". We should never pass up the opportunity to correctly use an obscure HTTP status code :-) > _all_docs should support both GET and POST > ------------------------------------------ > > Key: COUCHDB-289 > URL: https://issues.apache.org/jira/browse/COUCHDB-289 > Project: CouchDB > Issue Type: Improvement > Components: HTTP Interface > Affects Versions: 0.10 > Reporter: Matt Aimonetti > > As of 0.9, if you want to query multiple documents at once and load them, you have to do: > 'POST' /my_db/_all_docs?include_docs=true and pass the document ids. > The problem with that approach is that the requests can't be cached. Being to make a GET request (with the obvious limitations) would make a lot of sense. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.