Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use q-io 1.1.0

  • Loading branch information...
commit f1310565bfcb7c4191a9b84f9c66a162cf347b14 1 parent 8eb491f
@SLaks SLaks authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/FileResponse.js
  2. +1 −1  package.json
View
2  lib/FileResponse.js
@@ -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
2  package.json
@@ -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"
},
Please sign in to comment.
Something went wrong with that request. Please try again.