Comparing version 0.1.0 to 0.1.1
@@ -107,3 +107,2 @@ /** | ||
var uri = opt.protocol + "//" + opt.host + ":" + opt.port; | ||
@@ -113,4 +112,5 @@ var proxy = config.proxy || getProxyFromURI(opt); | ||
if (proxy) { | ||
var uri = opt.protocol + "//" + opt.host + ":" + opt.port; | ||
opt.headers = opt.headers || {}; | ||
opt.headers['HOST'] = uri; | ||
opt.headers['HOST'] = opt.host + ":" + opt.port; | ||
opt.path = url.resolve(uri, path); | ||
@@ -117,0 +117,0 @@ var proxyUri = url.parse(proxy); |
{ | ||
"name": "node-ral", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "a rpc client for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -268,3 +268,3 @@ /** | ||
describe('soap protocol', function () { | ||
it('should request wsdl service successfully', function (done) { | ||
it.skip('should request wsdl service successfully', function (done) { | ||
var soapTest = require('./protocol/soap_protocol.js'); | ||
@@ -285,3 +285,3 @@ var context = SoapProtocol.normalizeConfig(soapTest); | ||
it('should request wsdl service with service.port successfully', function (done) { | ||
it.skip('should request wsdl service with service.port successfully', function (done) { | ||
var soapTest = require('./protocol/soap_protocol.js'); | ||
@@ -288,0 +288,0 @@ var context = SoapProtocol.normalizeConfig(soapTest); |
@@ -376,3 +376,3 @@ /** | ||
it('should work fine with soap', function (done) { | ||
it.skip('should work fine with soap', function (done) { | ||
before(function (ok) { | ||
@@ -393,3 +393,3 @@ isInited.on('done', ok); | ||
it('should work fine with soap timeout', function (done) { | ||
it.skip('should work fine with soap timeout', function (done) { | ||
before(function (ok) { | ||
@@ -396,0 +396,0 @@ isInited.on('done', ok); |
Sorry, the diff of this file is not supported yet
289652
68
8131