disable permission checks for OPTIONS
authorchrysn <chrysn@fsfe.org>
Tue, 15 Apr 2014 21:17:37 +0000 (23:17 +0200)
committerJelmer Vernooij <jelmer@jelmer.uk>
Wed, 27 Jan 2016 21:48:34 +0000 (21:48 +0000)
commit5a7f157856b3415497101ef3286aa598a8728ce8
tree3a838765d3dfcb3aefb9e3e975f9f65601d15a1c
parent18b8fe6869c54d8f61cdf9144df1c59a2a5c1b7f
disable permission checks for OPTIONS

a CORS request (eg as issued in chromium) needs a pre-flight OPTIONS
request on the resource, which can't use credentials yet it's the point
of CORS not to send requests from the browser anywhere without that
particular anywhere's consent.

the code behind OPTIONS does not reveal any data (not even presence of a
collection).
calypso/__init__.py