couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Unexpected response for ?open_revs=all
Date Wed, 13 Jul 2011 01:38:59 GMT
I’m trying to get a list of conflicting revisions by using the “?open_revs=all” query
parameter, as described in the conflict documentation in the wiki[1]. But when I test this
with curl, the output is completely unexpected — instead of a JSON array as documented,
I get a MIME multipart body. What’s going on?

In this example the document isn’t actually in conflict, as I haven’t synthesized a conflict
in my test database yet (though I will soon thanks to Paul’s handy Python script!)

$ curl -i '’
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Server: CouchDB/1.2.0a-eb77a97-git (Erlang OTP/R14B01)
Date: Wed, 13 Jul 2011 01:16:36 GMT
Content-Type: multipart/mixed; boundary="5316aac5e82bfd1b98ba15d212819f24"

Content-Type: application/json



View raw message