mirror of
https://github.com/jquery/jquery.git
synced 2026-02-08 00:55:03 -05:00
Ajax: improve content-type detection
Fixes gh-2584 Closes gh-2643
This commit is contained in:
5
test/data/ajax/content-type.php
Normal file
5
test/data/ajax/content-type.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
$type = $_REQUEST['content-type'];
|
||||
header("Content-type: $type");
|
||||
echo $_REQUEST['response']
|
||||
?>
|
||||
Reference in New Issue
Block a user