agrueneberg / Corser

CORS middleware for Node.js
MIT License
91 stars 11 forks source link

Case insensitive matching of access-control-request-headers #6

Closed tuxpiper closed 11 years ago

tuxpiper commented 11 years ago

Hi,

please consider pulling this change. We had problems with Safari not getting any CORS headers at all from our app. It turns out that corser wasn't matching the capitalized header names provided by the browser (i.e. "Accept" instead of "accept")

mwawrusch commented 11 years ago

Ha, you beat me to that one :-)

agrueneberg commented 11 years ago

Nice catch! Just pushed version 1.1.2 to npm. Thanks!