Skip to content

Commit

Permalink
Remove request body when following non-GET redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
vpulim committed Mar 14, 2012
1 parent fddbd6e commit 0d0bdb7
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 @@ -450,6 +450,7 @@ Request.prototype.start = function () {
delete self.req
delete self.agent
delete self._started
delete self.body
if (self.headers) {
delete self.headers.host
}
Expand Down

0 comments on commit 0d0bdb7

Please sign in to comment.