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 8d59469 commit ccc6701
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/hprose.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hprose.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -6510,7 +6510,7 @@ hprose.global = (
var self = this;

function getRequestHeader(headers) {
var header = {};
var header = createObject(null);
var name, value;
for (name in _header) {
header[name] = _header[name];
Expand Down
2 changes: 1 addition & 1 deletion example/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/HttpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
var self = this;

function getRequestHeader(headers) {
var header = {};
var header = createObject(null);
var name, value;
for (name in _header) {
header[name] = _header[name];
Expand Down
2 changes: 1 addition & 1 deletion test/hprose.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ccc6701

Please sign in to comment.