Open frenchy64 opened 2 years ago
Due to some quirks of HeaderMap, if Access-Control-Allow-Methods is already present in a request, in some cases the the CORS headers are not correctly set.
Access-Control-Allow-Methods
See test cases in this branch and proposed fix: https://github.com/frenchy64/ring-cors/pull/1/files
Due to some quirks of HeaderMap, if
Access-Control-Allow-Methods
is already present in a request, in some cases the the CORS headers are not correctly set.See test cases in this branch and proposed fix: https://github.com/frenchy64/ring-cors/pull/1/files