Skip to content

Commit

Permalink
Update example of reading the body
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Jan 20, 2010
1 parent 62989a2 commit 0959869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsgi-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ To use provide a JSGI application (can be application stack) to the start
function:
require("jsgi-node").start(function(request){
var requestBody = request.input.read();
var requestBody = request.input.read().decodeToString("UTF-8");
return {
status:200,
headers:{},
Expand Down

0 comments on commit 0959869

Please sign in to comment.