Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use q-io 1.1.0

  • Loading branch information...
commit f1310565bfcb7c4191a9b84f9c66a162cf347b14 1 parent 8eb491f
SLaks authored November 26, 2012
2  lib/FileResponse.js
@@ -82,7 +82,7 @@ var FileResponse = Response.extend(
82 82
         return qfs.stat(path).then(
83 83
             function(stats) {
84 84
                 if (stats.isFile()) {
85  
-                    r.setHeader('Content-Length', stats.size());
  85
+                    r.setHeader('Content-Length', stats.size);
86 86
                     r.enableCaching(stats.lastModified());
87 87
                     return r;
88 88
                 }
2  package.json
@@ -15,7 +15,7 @@
15 15
     "dependencies": {
16 16
         "capsela-util": ">=0.1.0",
17 17
         "q": "~0.8",
18  
-        "q-io": "~1.0.0",
  18
+        "q-io": ">=1.1.0",
19 19
         "formidable": ">=1.0.5",
20 20
         "jsdom": ">=0.2.0"
21 21
     },

0 notes on commit f131056

Please sign in to comment.
Something went wrong with that request. Please try again.