Skip to content

Commit

Permalink
[fix] bslNet, Http_client: custom headers were ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricss committed Jan 9, 2013
1 parent 1dbbfe8 commit 748a279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/server/bslNet.nodejs
Expand Up @@ -627,10 +627,10 @@ function http_client_common_request(hostname, port, path, method, ishttps,
* @cpsBypass
*/
function raw_request(hostname, port, path, method, ishttps,
headers, content,
custom_headers, content,
timeout, ssl_key, ssl_policy, k){
var headers = [];
list2js(headers).forEach(function(h){
list2js(custom_headers).forEach(function(h){
headers[h.f1] = h.f2;
});
function failure(f){return_(k, {failure:f})}
Expand Down

0 comments on commit 748a279

Please sign in to comment.