incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: X-Couch-Update-NewRev not returning
Date Fri, 05 Apr 2013 03:22:41 GMT
Hi Jeff!

Have you hit this issue symptoms?
https://issues.apache.org/jira/browse/COUCHDB-1447

Because it's actually returns if you hadn't specify any additional
headers in respose:

[~]$ http POST http://localhost:5984/apps/_design/all_docs/_update/doc --json
HTTP/1.1 201 Created
Cache-Control: must-revalidate
Content-Length: 56
Content-Type: application/json, application/json
Date: Fri, 05 Apr 2013 03:21:23 GMT
Server: CouchDB/1.4.0+build.6187ba5 (Erlang OTP/R15B03)
X-Couch-Id: 3f5046939ff05dec5d04747d6b0058c6
X-Couch-Update-NewRev: 1-93d47d1072a9b7c66c35b278eb8a9766

{
    "id": "3f5046939ff05dec5d04747d6b0058c6",
    "status": "ok"
}

--
,,,^..^,,,


On Fri, Apr 5, 2013 at 1:46 AM, Jeff Charette <iomatix@yahoo.com> wrote:
> When calling an _update handler from node on my local box to a local couch using 1.4
I am not getting 'X-Couch-Update-NewRev' returned in my header.  Is this a 1.4 problem or
do I need to do something in my request.  Here is the head I do get back.
>
> HEADERS: {"server":"CouchDB/1.4.0a-eb7d91f-git (Erlang OTP/R15B03)","date":"Thu, 04 Apr
2013 21:36:27 GMT","content-type":"application/json","content-length":"79"}
>
> Jeff Charette | Principal
> We Are Charette
> web / identity / packaging
>
> m  415.298.2707
> w  wearecharette.com
> e   jeffrey@wearecharette.com

Mime
View raw message