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

@@ -2,7 +2,7 @@
if ($_SERVER["REQUEST_METHOD"] != "POST") {
header('Allow: POST');
header("HTTP/1.1 405 Method Not Allowed");
header("Content-type: text/plain");
header("Content-Type: text/plain");
exit;
}
require( dirname(__FILE__) . '/wp-config.php' );