diff --git a/lib/spdy/response.js b/lib/spdy/response.js index e607918..ebc34fc 100644 --- a/lib/spdy/response.js +++ b/lib/spdy/response.js @@ -84,7 +84,7 @@ exports.push = function push (path, headers, callback) { path: path, method: headers.method ? headers.method.toString() : 'GET', status: headers.status ? parseInt(headers.status, 10) : 200, - host: this._req.headers.host, + host: headers.host || this._req.headers.host, headers: headers.request, response: headers.response }