ee-soa-transport-rest
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -49,5 +49,5 @@ "use strict"; | ||
, sendHTTPResponse: function(status, language, request, data, httpResponse){ | ||
, sendHTTPResponse: function(status, language, request, response, data, httpResponse){ | ||
var httpStatus = this._prepareStatus(status); | ||
httpResponse.render(httpStatus, language, {}, data, function(err){}); | ||
httpResponse.render(httpStatus, language, response.headers, data, function(err){}); | ||
} | ||
@@ -54,0 +54,0 @@ |
@@ -222,3 +222,3 @@ "use strict"; | ||
//this._createHTTPResponse(request, {status:status, content:content}, res); | ||
this.responseFactory.sendHTTPResponse(status, req.language, request, content, res); | ||
this.responseFactory.sendHTTPResponse(status, req.language, request, response, content, res); | ||
}.bind(this)); | ||
@@ -225,0 +225,0 @@ |
{ | ||
"name" : "ee-soa-transport-rest" | ||
, "description" : "Rest specific transport implementation." | ||
, "version" : "0.1.7" | ||
, "version" : "0.1.8" | ||
, "homepage" : "https://github.com/eventEmitter/ee-soa-transport-rest" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael Rüfenacht <ruefe@rcky.ch> (http://rcky.ch/)" |
51024