couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Allow overridden request methods
Date Wed, 13 May 2009 16:58:47 GMT

On 13 May 2009, at 18:43, Jared Scheel wrote:

> 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.

It adds a second API and complexity to CouchDB to support
non-standard clients. I.e: If you don't speak HTTP, you can't
talk to CouchDB.


> 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).

I'd rather not fix corporate bastardizations of open standards. If they
can't get their shit together, it's their fault that their customers  
suffer.


Cheers
Jan
--
Punkrock!

>
> Thanks!
> -Jared
>
> On Tue, May 12, 2009 at 11:29 PM, Jared Scheel <jared3d@gmail.com>  
> 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
>>
>


Mime
View raw message