X-Requested-With to uppercase

Style change because headers are case insensitive
This commit is contained in:
Luke Towers 2017-02-14 17:53:43 -06:00 committed by GitHub
parent 88d53ec0d5
commit c4031de6d6
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ if (window.jQuery.request !== undefined) {
}
var requestHeaders = {
'X-Requested-With': 'XMLHttpRequest',
'X-REQUESTED-WITH': 'XMLHttpRequest',
'X-OCTOBER-REQUEST-HANDLER': handler,
'X-OCTOBER-REQUEST-PARTIALS': this.extractPartials(options.update)
}