Skip to content
Browse files

Merge pull request #31 from relictM/master

Paramters in url for get request
  • Loading branch information...
2 parents f00b712 + 06e03ae commit 72459fa6ed09ffa6544213bd82693ab676405e2d @nlacasse nlacasse committed Apr 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shred/request.js
View
2 lib/shred/request.js
@@ -269,7 +269,7 @@ var processOptions = function(request,options) {
}
// Set the remaining options.
- request.query = options.query||options.parameters;
+ request.query = options.query||options.parameters||request.query ;
request.method = options.method;
request.setHeader("user-agent",options.agent||"Shred for Node.js, Version 0.5.0");
request.setHeaders(options.headers);

0 comments on commit 72459fa

Please sign in to comment.
Something went wrong with that request. Please try again.