mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 07:01:04 +00:00
Update http.js
This commit is contained in:
parent
0d1d1d37f7
commit
ccc4b688b8
|
@ -97,7 +97,11 @@ var HTTPObject = function(engine) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.setProxy = function(proxy) {
|
this.setProxy = function(proxy) {
|
||||||
this.proxy = proxy;
|
for (var k in proxy) {
|
||||||
|
if (k in this.proxy) {
|
||||||
|
this.proxy[k] = proxy[k];
|
||||||
|
}
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user