Skip Menu |

This queue is for tickets about the CouchDB-Client CPAN distribution.

Report information
The Basics
Id: 59685
Status: resolved
Priority: 0/
Queue: CouchDB-Client

People
Owner: Nobody in particular
Requestors: cjbradford [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: 0.09



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
Download diff
application/octet-stream 694b

Message body not shown because it is not plain text.

Thank you for the patch. It's included in 0.9