Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545

git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n
2007-06-02 05:21:18 +00:00
parent 8998b56e76
commit 12c2ef6be0
15 changed files with 18 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ if ( isset($HTTP_RAW_POST_DATA) )
include('./wp-config.php');
if ( isset( $_GET['rsd'] ) ) { // http://archipelago.phrasewise.com/rsd
header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
?>
<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>