Permalink
Browse files

Use q-io 1.1.0

  • Loading branch information...
SLaks committed Nov 26, 2012
1 parent 8eb491f commit f1310565bfcb7c4191a9b84f9c66a162cf347b14
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/FileResponse.js
  2. +1 −1 package.json
View
@@ -82,7 +82,7 @@ var FileResponse = Response.extend(
return qfs.stat(path).then(
function(stats) {
if (stats.isFile()) {
- r.setHeader('Content-Length', stats.size());
+ r.setHeader('Content-Length', stats.size);
r.enableCaching(stats.lastModified());
return r;
}
View
@@ -15,7 +15,7 @@
"dependencies": {
"capsela-util": ">=0.1.0",
"q": "~0.8",
- "q-io": "~1.0.0",
+ "q-io": ">=1.1.0",
"formidable": ">=1.0.5",
"jsdom": ">=0.2.0"
},

0 comments on commit f131056

Please sign in to comment.