stable

Clone or download

Read-only

Correct handling of OPTIONS

Part of request #10039: Retrieve/update FRS packages via REST In the headers returned for GET /frs_release/:id, you should have: "Allow": "OPTIONS, GET" In the headers returned for POST /frs_release, you should have: "Allow": "OPTIONS, POST" Change-Id: I1839c32af790ae4e3ce2ff8e0befa059a6ad0e92

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/ReleaseResource.php +16 −3 Go to diff View file
M plugins/frs/tests/rest/FRS/ReleaseTest.php +7 −1 Go to diff View file