commit | 6e96c2b9eb552d62ee52955226dacc487dc92d4b | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Sun Sep 14 18:40:08 2014 +0100 |
committer | Robert Newson <rnewson@apache.org> | Sun Sep 14 18:40:08 2014 +0100 |
tree | 1ba75c63855ea9fe63492e9610c3bc38128966ac | |
parent | a6421192e1a8ce6f66395124d0dd21a7522d47ab [diff] |
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.