Skip to content

Commit

Permalink
added method to request properties
Browse files Browse the repository at this point in the history
  • Loading branch information
csausdev committed Dec 30, 2009
1 parent 9b4d880 commit 5d3c009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/jsgi-node.js
Expand Up @@ -35,8 +35,10 @@ var sys = require( "sys" );
function Request( request ) {
var uri = request.uri;

this.queryString = uri.queryString;
this.method = request.method;
this.scriptName = '';
this.pathInfo = uri.path;
this.queryString = uri.queryString;
this.env = { node: { request: request } };
this.input = new Input( request );
}
Expand Down

0 comments on commit 5d3c009

Please sign in to comment.