Skip to content

Commit

Permalink
Improved getRequestHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Dec 2, 2016
1 parent 08e288c commit b81b868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/HttpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function HttpClient(uri, functions, settings) {
var self = this;

function getRequestHeader(headers) {
var header = {};
var header = Object.create(null);
var name, value;
for (name in _header) {
header[name] = _header[name];
Expand Down

0 comments on commit b81b868

Please sign in to comment.