incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikeal Rogers <mikeal.rog...@gmail.com>
Subject Re: Allow overridden request methods
Date Thu, 14 May 2009 14:23:50 GMT
Does anyone have an example of an HTTP client that doesn't support  
changing or adding headers?

I certainly can't think of any. Limiting request methods is one thing  
but not allowing you to modify headers is pretty crippling.

-Mikeal

On May 14, 2009, at May 14, 20096:29 AM, Brian Candler wrote:

> On Thu, May 14, 2009 at 07:08:21AM -0500, Jared Scheel wrote:
>> Hmm, didn't think about that. I guess you will need to have some kind
>> of request body anyways. Do you think that the request method should
>> be set in the data though, or should it be set in the header, since
>> the method/header defines how the data should be interpreted? I know
>> that's just splitting hairs, but there was some concern about keeping
>> the api as clean as possible.
>
> I think the whole point is to support minimal HTTP clients. If they  
> don't
> support PUT or DELETE, there's a good chance they don't support  
> custom HTTP
> headers either.


Mime
View raw message