appy-bird
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -65,3 +65,3 @@ const fs = require('fs'); | ||
{ | ||
'Content-Type': mimeType, | ||
'Content-Type': mimeType || mime.lookup(path), | ||
'Content-Length': stat.size | ||
@@ -68,0 +68,0 @@ }, |
{ | ||
"name": "appy-bird", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "'appy-bird makes APIs as easy as flying into a brick wall!", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -166,2 +166,6 @@ # appy-bird | ||
#### `responder.file(absolutePath, [mimeType])` | ||
Stream a file from the local filesystem. If `mimeType` is omitted it will be inferred from the filename. | ||
#### `responder.html([status], html)` | ||
@@ -168,0 +172,0 @@ |
181146
200