jnichols-git/matcha

HTTP headers should not be case-sensitive

Closed this issue · 3 comments

Currently experiencing an error with the Auth0 plugin for VueJS where making a request with an Authorization header creates a preflight request asking for "authorization" instead of "Authorization". This should be accepted by the CORS package.

Turns out ALL header names should be non-case-sensitive. Working on a fix.

Turns out Go manages case sensitivity of headers, so we've wrapped back around to it just being a CORS problem. I made a fix and I'm updating documentation to mention the change in patch v1.2.2. PR incoming!

Closed by #98