Subject: | Bulk Store fails against CouchDB 1.0.0 |
Bulk operations in CouchDB 1.0.0 require the Content-Type header to be
application/json, and currently CouchDB::Client doesn't set this header.
This causes a failure of the test suite shown below:
t/15-client.t ........ 32/77 Connection error: 415 Unsupported Media
Type at
/home/colin/firelight/couch/couchdb-client/blib/lib/CouchDB/Client/DB.pm
line 192
CouchDB::Client::DB::bulkStore('CouchDB::Client::DB=HASH(0xd4df38)',
'ARRAY(0xdde4a0)') called at t/15-client.t line 301
I've attached a patch against the current git source that fixes this,
and makes the entire suite pass.
For reference, perl v5.10.0 on SuSE Linux
Subject: | diff |
Message body not shown because it is not plain text.