Permalink
Browse files

fixed warning about deprecated raw encoding

  • Loading branch information...
Simon Willison authored and Connorhd committed Nov 18, 2009
1 parent 0a7c88a commit c447269ebe2b67c8b20457c6aa015681f0d398ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 fu.js
View
2 fu.js
@@ -63,7 +63,7 @@ function extname (path) {
fu.staticHandler = function (filename) {
var body, headers;
var content_type = fu.mime.lookupExtension(extname(filename));
- var encoding = (content_type.slice(0,4) === "text" ? "utf8" : "raw");
+ var encoding = (content_type.slice(0,4) === "text" ? "utf8" : "binary");
function loadResponseData(callback) {
if (body && headers && !DEBUG) {

0 comments on commit c447269

Please sign in to comment.