Allow setting referrer

This commit is contained in:
Cheng Zhao 2015-06-17 11:20:09 +08:00
parent e07f5cd53f
commit 543c4d5597
6 changed files with 20 additions and 8 deletions

View file

@ -36,6 +36,6 @@ class RequestErrorJob
protocol.RequestHttpJob =
class RequestHttpJob
constructor: ({@url, @method}) ->
constructor: ({@url, @method, @referrer}) ->
module.exports = protocol