jshttp / basic-auth

Generic basic auth Authorization header field parser
MIT License
703 stars 86 forks source link

Issue where the "Authorization" http header name is capitalised #27

Closed adityakatta closed 8 years ago

dougwilson commented 8 years ago

Hi @adityakatta, Node.js req.headers object only contains lower-cased header names.

dougwilson commented 8 years ago

Docs: https://nodejs.org/api/http.html#http_message_headers

Key-value pairs of header names and values. Header names are lower-cased.