David Zülke wrote:
> There was a report, yup, filed it myself :)
> It has been fixed in trunk as part of the mochiweb merge, apparently:
> https://issues.apache.org/jira/browse/COUCHDB-13
Reads like it should be fixed, but seems like CouchDB doesn't send any
ETags anymore:
POST /phpunit_test1 HTTP/1.1
User-Agent: PECL::HTTP/1.6.1-dev (PHP/5.3.0-dev)
Host: localhost:5984
Accept: */*
Content-Type: text/json
Content-Length: 2
{}
HTTP/1.1 201 Created
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Thu, 24 Apr 2008 13:42:31 GMT
Content-Type: text/plain;charset=utf-8
X-Original-Transfer-Encoding: chunked
Content-Length: 70
{"ok":true,"id":"3a801ba5a1b9df16a0cb4143c7839461","rev":"2903083097"}
GET /phpunit_test1/3a801ba5a1b9df16a0cb4143c7839461?rev=2903083097 HTTP/1.1
User-Agent: PECL::HTTP/1.6.1-dev (PHP/5.3.0-dev)
Host: localhost:5984
Accept: */*
HTTP/1.1 200 OK
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Thu, 24 Apr 2008 13:42:31 GMT
Content-Type: text/plain;charset=utf-8
X-Original-Transfer-Encoding: chunked
Content-Length: 62
{"_id":"3a801ba5a1b9df16a0cb4143c7839461","_rev":"2903083097"}
-- Mike
ps: What's the idea behind making id/ref once appear with and then again
without underscores at the beginning of the word?