(bug 44921) API should properly handle OPTIONS
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 26 Feb 2013 20:41:00 +0000 (12:41 -0800)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 26 Feb 2013 20:53:45 +0000 (12:53 -0800)
commit25d26efe59f47dafd071bc457d8807127267e175
tree90d0f01106b604273475ac565776934e0b97cbfa
parent019ede87172494f1e2352926095b81d201723eee
(bug 44921) API should properly handle OPTIONS

When given an OPTIONS request, ApiMain should return just after the CORS
check. It should not actually execute the action or return any response
body.

Change-Id: I1c16cb89e777aaac69ae86b532d16f4c10a1f1d2
RELEASE-NOTES-1.21
includes/api/ApiMain.php