mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 07:21:43 +00:00
Ready use the JSON-RPC 2.0 based stateless proxy
This commit is contained in:
parent
ac31e5e884
commit
b45a7cdd6c
|
@ -496,7 +496,7 @@ var HTTPObject = function(engine) {
|
||||||
"url": url,
|
"url": url,
|
||||||
"headers": this.getRequestHeaders(function(x) {
|
"headers": this.getRequestHeaders(function(x) {
|
||||||
return Object.keys(x).reduce(function(a, k) {
|
return Object.keys(x).reduce(function(a, k) {
|
||||||
a.push(x[k]);
|
a.push(k + ": " + x[k]);
|
||||||
return a;
|
return a;
|
||||||
}, []);
|
}, []);
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user