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.
1 file changed
tree: 1ba75c63855ea9fe63492e9610c3bc38128966ac
  1. priv/
  2. src/
  3. test/
  4. .gitignore