milewise/node-soap — pull request #139 by dimichgh (2013-05-23 04:54:54+00:00)
Title: better implementation of request headers customization via header decorators

Example:

soap.createClient(url, {}, function(err, client) {

// tune the client to allow adding more headers, since the original doesn't support it

client.addHeaderDecorator(function(headers, method, args, location) {
headers['heade-key'] = 'header value;
});