Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add `opts.qs` to nano.request #126

Merged
merged 3 commits into from

2 participants

@jlank

In reference to issue #125... Passed existing tests but didn't write any new tests because I think it'd be overkill for this tiny change. If you require them though, just let me know and I'll put one together.

@dscape dscape merged commit 7a8f703 into dscape:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 8, 2013
  1. @jlank

    added querystring option to request method so query string parameters…

    jlank authored
    … can be specified for a custom request (such as _uuids?count=10)
  2. @jlank
  3. @jlank
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  README.md
View
1  README.md
@@ -313,6 +313,7 @@ makes a request to couchdb, the available `opts` are:
`opts.att`
* `opts.doc` – the document name
* `opts.att` – the attachment name
+* `opts.params` – query string parameters, appended after any existing `opts.path`, `opts.doc`, or `opts.att`
* `opts.content_type` – the content type of the request, default to `json`
* `opts.headers` – additional http headers, overrides existing ones
* `opts.body` – the document or attachment body
Something went wrong with that request. Please try again.