GitHub user rnewson opened a pull request:

    https://github.com/apache/couchdb-couch-replicator/pull/3

    Encode seq before sending request

    CouchDB 2.0 sequences are lists (of form [non_neg_integer(),
    binary()]) where previously they were strings (either as binary or as
    list) or numbers. The replicator calls iolist_to_binary on all
    parameters which scrambles this new format.
    
    Ensure we've JSON encoded the since value to a binary before calling 
send_req.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/couchdb-couch-replicator 
malformed-since

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch-replicator/pull/3.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
    
----
commit 6e96c2b9eb552d62ee52955226dacc487dc92d4b
Author: Robert Newson <[email protected]>
Date:   2014-09-14T17:40:08Z

    Encode seq before sending request
    
    CouchDB 2.0 sequences are lists (of form [non_neg_integer(),
    binary()]) where previously they were strings (either as binary or as
    list) or numbers. The replicator calls iolist_to_binary on all
    parameters which scrambles this new format.
    
    Ensure we've JSON encoded the since value to a binary before calling 
send_req.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to