Make sure docid is a binary
a few guards to ensure that DocId in the barrel_httpc:get/3 barrel_httpc:delete/3 and barrel_httpc:put/3 functions is a binary.
It should give a better error in the case that someone passes a bad value.
a few guards to ensure that DocId in the barrel_httpc:get/3 barrel_httpc:delete/3 and barrel_httpc:put/3 functions is a binary.
It should give a better error in the case that someone passes a bad value.