diff --git a/builders.js b/builders.js index 3248c7f9a..49c372659 100755 --- a/builders.js +++ b/builders.js @@ -3705,7 +3705,7 @@ function async_wait(arr, onItem, onCallback, index) { function RESTBuilder(url) { this.$url = url; - this.$headers = { 'User-Agent': 'Total.js/v' + F.version_header, Accept: 'application/json, text/plain, text/plain, text/xml' }; + this.$headers = { 'user-agent': 'Total.js/v' + F.version_header, accept: 'application/json, text/plain, text/plain, text/xml' }; this.$method = 'get'; this.$timeout = 10000; this.$type = 0; // 0 = query, 1 = json, 2 = urlencode, 3 = raw diff --git a/changes.txt b/changes.txt index 16d9c03a8..4f827c9af 100755 --- a/changes.txt +++ b/changes.txt @@ -1,3 +1,7 @@ +======= 2.9.3 + +- updated: RESTBuilder default headers are lower-case + ======= 2.9.2 - added: `controller.html(body, [headers])`