You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by afshin afzali <a....@gmail.com> on 2010/11/29 09:34:43 UTC
Controlling Update Handler's Response Code
Hi Guys,
I was wondering if there is a way that I could use to control response code
of my update handler. I wish to respond to the request with 200 OK, but the
handler generate 201 (in case of newly created document).
BEST,
-- afshin
Re: Controlling Update Handler's Response Code
Posted by Zachary Zolton <za...@gmail.com>.
afshin,
This is a known bug:
https://issues.apache.org/jira/browse/COUCHDB-648
Cheers,
Zach
On Mon, Nov 29, 2010 at 2:34 AM, afshin afzali <a....@gmail.com> wrote:
> Hi Guys,
>
> I was wondering if there is a way that I could use to control response code
> of my update handler. I wish to respond to the request with 200 OK, but the
> handler generate 201 (in case of newly created document).
>
> BEST,
> -- afshin
>