Arbit - project tracking

PHPillow - PHP CouchDB connector

#16: Bad request response from CouchDB (1.1.x)

Issue revisions

  • new by dfa at 2011-J-28 11:02
  • new by dfa at 2011-J-28 11:02
Type bug bug
State new new
Priority medium medium
Resolution none none
Assigned to Nobody
Scheduled for
Affected versions 0.6-alpha, trunk
Affected components Core
Last change Thursday 28 July 2011 11:02:16 UTC by dfa

Short description

CouchDB 1.1.x responses with 'bad request' for POST packets. Do the same request with curl works correctly.

Environment

FreeBSD 8.2 CouchDB 1.1.0 PHP 5.3.6

Steps to reproduce

Save a document.

Expected behavior

Correct packet handling.

Actual behavior

Wrong 'Content-Length'.

  • dfa at Thursday 28 July 2011 11:03:33 UTC

    Solution: See patch.