mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Ajax: improve content-type detection
Cherry-picked from 239169bb2e
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