nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 305 forks source link

Two minor issues with standards and Chrome #75

Closed cd34 closed 11 years ago

cd34 commented 11 years ago

The first issue with Chrome is that it doesn't support the more generic Allow header and requires Access-Control-Allow-Methods to be set.

The second issue is that the standards definitions do not allow Access-Control-Allow-Headers to be a wildcard and must be set with the individual headers.

http://www.w3.org/TR/cors/#access-control-allow-headers-response-header

nicolasff commented 11 years ago

Great, thanks! I'll just remove the two original lines and merge your patch.

nicolasff commented 11 years ago

Merged, thank you!