Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #522 from bem/BEM-1448
Browse files Browse the repository at this point in the history
bem server: open content files in binary mode (BEM-1448)
  • Loading branch information
scf2k committed Nov 21, 2013
2 parents 34846e4 + 93e962a commit 7ea2ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ exports.Server = INHERIT({
response.status = 200;
response.charset = 'binary';
response.headers = { 'content-type': MIME.lookup(path) };
response.body = QFS.open(path);
response.body = QFS.open(path, 'b');

return response;
};
Expand Down

0 comments on commit 7ea2ca4

Please sign in to comment.