Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Use 'Content-Type' instead of 'content-type'
Browse files Browse the repository at this point in the history
Really shouldn't matter, but [sometimes it does](sinonjs/sinon#547)
  • Loading branch information
elliottsj committed Aug 16, 2014
1 parent d956201 commit 3ded43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
return header.toLowerCase() === 'content-type';
});
if (!hasContentType && this.contentType) {
args.headers['content-type'] = this.contentType;
args.headers['Content-Type'] = this.contentType;
}
if (this.handleAs === 'arraybuffer' || this.handleAs === 'blob' ||
this.handleAs === 'document') {
Expand Down

0 comments on commit 3ded43b

Please sign in to comment.