On Mar 17, 2010, at 9:31 AM, Lena Herrmann wrote:
> Am 16.03.10 15:21, schrieb Lena Herrmann:
>> Hi,
>>
>> the "changes" method in couch.js takes not only options, but also keys.
>> What are the keys for?
>
> Okay I figured out what keys for. But the "changes" method doesn't seem to
> work properly. When it is called with keys, like:
>
> db.changes({"since":"1"}, ["123"]);
>
> It is supposed to do a POST request. But only GET and HEAD are allowed, so I
> get a 405 here.
>
> Can someone tell me where to fix this or do it themselves .. thanks.
>
My guess is that the _changes handler was copied and pasted from the
_all_docs_by_seq handler, which may have supported that feature. We should
probably just remove the keys option from the JS client.
Chris
>
> Cheers, Lena
>
>