Permalink
Browse files

fix to serve binary files

  • Loading branch information...
1 parent fb5719b commit bba52dd8a84ea25ef19de41ea38a73e9cc086049 @erikcorry erikcorry committed with ry Nov 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 fu.js
View
2 fu.js
@@ -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();
});
}

0 comments on commit bba52dd

Please sign in to comment.