Skip to content

Commit

Permalink
Fix bug in Request.js ( Related to #221 )
Browse files Browse the repository at this point in the history
  • Loading branch information
milani committed Oct 26, 2012
1 parent a9374c7 commit 8a8a660
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/router/Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ function Request(request){
this.hash = parsed.hash;
this.params = parsed.query;
this.files = request.files;
bodyParser.parse(request);
this.body = request.body;
this.post = request.post;
bodyParser.parse(this);
}

inherit(Request, ClientRequest, [
Expand Down

0 comments on commit 8a8a660

Please sign in to comment.