aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojo/tests/_base/xhrDummyMethod.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojo/tests/_base/xhrDummyMethod.php')
-rw-r--r--includes/js/dojo/tests/_base/xhrDummyMethod.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/js/dojo/tests/_base/xhrDummyMethod.php b/includes/js/dojo/tests/_base/xhrDummyMethod.php
new file mode 100644
index 0000000..c9206fe
--- /dev/null
+++ b/includes/js/dojo/tests/_base/xhrDummyMethod.php
@@ -0,0 +1,7 @@
+<?php
+//Just a dummy end point to use in HTTP method calls like PUT and DELETE.
+//This avoids getting a 405 method not allowed calls for the tests that reference
+//this file.
+
+header("HTTP/1.1 200 OK");
+?>