Adds support for options to several new methods
The following methods now take an optional kivik.Options argument as the final argument:
- DB.CreateDoc()
- DB.Put()
- DB.Delete()
- DB.PutAttachment()
- DB.DeleteAttachment()
- DB.GetAttachmentMeta()
- DB.GetAttachment()
Additionally, the value of OptionFullCommit
was changed from "force_commit" to "X-Couch-Full-Commit" for greater consistency (the old value will continue to be recognized until Kivik 2.0), and the IfNoneMatch
constant was added, and is now recognized by the following functions:
- Get()
- GetAttachment()
- GetAttachmentMeta()