Skip to content

Commit

Permalink
Added *src* stream removal on redirect. #321
Browse files Browse the repository at this point in the history
  • Loading branch information
alexindigo committed Sep 12, 2012
1 parent 48c9881 commit 8ce0f2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ Request.prototype.start = function () {
)
if (self.followAllRedirects) self.method = 'GET'
// self.method = 'GET'; // Force all redirects to use GET || commented out fixes #215
delete self.src
delete self.req
delete self.agent
delete self._started
Expand Down

0 comments on commit 8ce0f2a

Please sign in to comment.