Skip to content

Commit

Permalink
null data on GET
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 18, 2011
1 parent 84e7053 commit fa8d7bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/superagent.js
Expand Up @@ -571,6 +571,7 @@ var superagent = function(exports){
// querystring
if ('GET' == this.method && null != data) {
this.url += '?' + exports.serializeObject(data);
data = null;
}

// initiate request
Expand Down

0 comments on commit fa8d7bf

Please sign in to comment.