Skip to content

Commit

Permalink
fix to serve binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
erikcorry authored and ry committed Nov 28, 2009
1 parent fb5719b commit bba52dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fu.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fu.staticHandler = function (filename) {
return function (req, res) {
loadResponseData(function () {
res.sendHeader(200, headers);
res.sendBody(body);
res.sendBody(body, encoding);
res.finish();
});
}
Expand Down

0 comments on commit bba52dd

Please sign in to comment.