Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 83907 invoked from network); 13 May 2009 16:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 May 2009 16:44:16 -0000 Received: (qmail 6334 invoked by uid 500); 13 May 2009 16:44:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 6254 invoked by uid 500); 13 May 2009 16:44:15 -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 6244 invoked by uid 99); 13 May 2009 16:44:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 16:44:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jared3d@gmail.com designates 74.125.46.28 as permitted sender) Received: from [74.125.46.28] (HELO yw-out-2324.google.com) (74.125.46.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 16:44:05 +0000 Received: by yw-out-2324.google.com with SMTP id 2so358233ywt.5 for ; Wed, 13 May 2009 09:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=5zq/5RgvNrBjHhCoMwzLH0nVOs+f6tQBgvwaqYEZB/4=; b=DT+EmlNdr6YvqokaOllfmNTFwhEegnoiNzCBJw787L2SmAdZkZr7uhzOW+jDWO94Ii FC9Me/d9d9Qjh2dAaazwL5EHTD6UceD32xmWUEs09p3Bjhd83J84ZWubUpPZgz0/2vWD sYS9DjLoAN3TRbGYuBANPlqKO7cCM+7tC9j7Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=g4b+n1QNc4mCIxGEG4WXIR3VqF79zYOGv/9Qx7KSlZXNcyDspL+ILRJ6SOLYRg+bSo KJtHrD2hKMB4xZfF6st5j8hHQtE0EP1TIxa45NqlbFAOKWT7phP4FL+8FpHB/ZKvziIB c9UMn3z/Orz/5gGvLJR3eShriKZeAgnroUs2E= MIME-Version: 1.0 Received: by 10.151.99.11 with SMTP id b11mr1444234ybm.59.1242233024224; Wed, 13 May 2009 09:43:44 -0700 (PDT) In-Reply-To: <94efd83c0905122129s216f5d0bu26690c2043ad1737@mail.gmail.com> References: <94efd83c0905122129s216f5d0bu26690c2043ad1737@mail.gmail.com> From: Jared Scheel Date: Wed, 13 May 2009 11:43:24 -0500 Message-ID: <94efd83c0905130943t2ae9b63eoe9cdf2beac991c44@mail.gmail.com> Subject: Re: Allow overridden request methods To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sorry for responding to my original message instead of a reply in the thread, but I seem to be having some issues with the mailing list. Oliver, you are right, I could use a javascript wrapper for flash. The problem with that is that it introduces a second dependency to interact with the REST interface. Sometimes you won't have access to the javascript external interface with flash. Also, by adding support for this header, it doesn't just benefit flash, but any client that is restricted (Silverlight for example). Thanks! -Jared On Tue, May 12, 2009 at 11:29 PM, Jared Scheel wrote: > Hello all, > I recently looked into utilizing couchdb in a Flash application when I > came across a frustrating limitation: flash only allows GET and POST > methods. Apparently, this kind of limitation is more common that you > would expect in certain clients. Unfortunately, this makes using > couchdb rather difficult. Here's a great post about the problem: > http://www.mail-archive.com/sling-dev@incubator.apache.org/msg00355.html. > What would be the possibility of allowing request methods to be > overridden with the X-HTTP-Method-Override header? This would allow > the request to be made with POST, but the method that couchdb receives > to be whatever value you attach to the X-HTTP-Method-Override header. > > Thanks! > -Jared >