updated to support explicit keys

This commit is contained in:
Tony Tam
2014-06-12 17:50:23 -07:00
parent c2dd77ff3a
commit b8e4317929
4 changed files with 36 additions and 14 deletions

View File

@@ -2131,10 +2131,12 @@ require.define("/shred/mixins/headers.js", function (require, module, exports, _
// to `Content-Type`.
var corsetCase = function(string) {
return string.toLowerCase()
return string;
/* return string.toLowerCase()
//.replace("_","-")
.replace(/(^|-)(\w)/g,
function(s) { return s.toUpperCase(); });
*/
};
// We suspect that `initializeHeaders` was once more complicated ...