aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-01-06 10:19:38 -0500
committerjeresig <jeresig@gmail.com>2010-01-06 10:19:38 -0500
commit6861b5d4eb16222ed5ea623af6ce75362b55d1d4 (patch)
tree06c62bcef8cd402a02e20890f4827e79be328229 /test/data
parent787f271052220c20787104f0eba6441aedac22ff (diff)
downloadjquery-6861b5d4eb16222ed5ea623af6ce75362b55d1d4.tar.gz
jquery-6861b5d4eb16222ed5ea623af6ce75362b55d1d4.zip
Added in support for content-type sniffing for scripts. Fixes #5718.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/script.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/script.php b/test/data/script.php
new file mode 100644
index 000000000..55d7bc209
--- /dev/null
+++ b/test/data/script.php
@@ -0,0 +1,7 @@
+<?php
+error_reporting(0);
+if ( $_REQUEST['header'] ) {
+ header("Content-type: text/javascript");
+}
+?>
+ok( true, "Script executed correctly." );