source:
Dev/trunk/src/client/dojox/atom/tests/io/appFail.php
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 333 bytes |
Line | |
---|---|
1 | <?php |
2 | if($_SERVER['REQUEST_METHOD'] == "PUT" || $_SERVER['REQUEST_METHOD'] == 'DELETE'){ |
3 | header($_SERVER["SERVER_PROTOCOL"]." 403 Forbidden", true, 403); |
4 | print("Modification forbidden, resource doesn't exist"); |
5 | }else if($_SERVER['REQUEST_METHOD'] == 'POST'){ |
6 | header($_SERVER["SERVER_PROTOCOL"]." 400 Bad Request", true, 400); |
7 | } |
8 | ?> |
Note: See TracBrowser
for help on using the repository browser.