Permalink
Browse files

removed code changes, updated README.md

  • Loading branch information...
1 parent e459128 commit fe90db62d2741e13bcd45c89be0c6c80af00c9a7 @jlank jlank committed Feb 8, 2013
Showing with 1 addition and 6 deletions.
  1. +1 −1 README.md
  2. +0 −5 nano.js
View
2 README.md
@@ -313,7 +313,7 @@ makes a request to couchdb, the available `opts` are:
`opts.att`
* `opts.doc` – the document name
* `opts.att` – the attachment name
-* `opts.qs` – query string parameters, appended after any existing `opts.path`, `opts.doc`, or `opts.att`
+* `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
View
5 nano.js
@@ -167,11 +167,6 @@ module.exports = exports = nano = function database_module(cfg) {
}
}
- // if there is a querystring append it after the path
- if(opts.qs) {
- req.uri += "?" + qs.stringify(opts.qs);
- }
-
// prevent bugs where people set encoding when piping
if(opts.encoding !== undefined && callback) {
req.encoding = opts.encoding;

0 comments on commit fe90db6

Please sign in to comment.