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. .gitignore
  2. priv/
  3. src/
  4. test/