Allow returning file for custom protocol.

This commit is contained in:
Cheng Zhao 2013-08-25 16:06:29 +08:00
parent 1ed77371c0
commit 244d7eaf17
4 changed files with 40 additions and 1 deletions

View file

@ -9,3 +9,7 @@ class RequestStringJob
@mimeType = mimeType ? 'text/plain'
@charset = charset ? 'UTF-8'
@data = String data
module.exports.RequestFileJob =
class RequestFileJob
constructor: (@path) ->