aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/ajax
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-02-10 22:42:21 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-02-15 02:01:59 +0300
commit4ef120d3f2578fe3d52eb6c0d0641df945991391 (patch)
tree9b836dd55f80398f5203bc2497d30a1e8d0cb51d /test/data/ajax
parent0ac28ed293681cb8f2e9fdd11efa0021da039c84 (diff)
downloadjquery-4ef120d3f2578fe3d52eb6c0d0641df945991391.tar.gz
jquery-4ef120d3f2578fe3d52eb6c0d0641df945991391.zip
Ajax: make jQuery#load "type" field explicit
* Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264
Diffstat (limited to 'test/data/ajax')
-rw-r--r--test/data/ajax/evalScript.php1
-rw-r--r--test/data/ajax/method.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/data/ajax/evalScript.php b/test/data/ajax/evalScript.php
new file mode 100644
index 000000000..ea9b8c55f
--- /dev/null
+++ b/test/data/ajax/evalScript.php
@@ -0,0 +1 @@
+ok( "<?php echo $_SERVER['REQUEST_METHOD'] ?>" === "GET", "request method is <?php echo $_SERVER['REQUEST_METHOD'] ?>" ); \ No newline at end of file
diff --git a/test/data/ajax/method.php b/test/data/ajax/method.php
new file mode 100644
index 000000000..d76ff964b
--- /dev/null
+++ b/test/data/ajax/method.php
@@ -0,0 +1 @@
+<?php echo $_SERVER['REQUEST_METHOD'] ?>