camelize-http-headers

Function to camelize HTTP headers

Camelize HTTP headers

Camelize HTTP headers.

Although HTTP/1.x headers are case insensitive, in some cases you still need them camelcased, as they are generally known.

npm install camelize-http-headers --save

camelize = require 'camelize-http-headers'
camelize 'content-md5' # Content-MD5 

Apache 2.0