From cffae5aabff44945c3ab8e3c94e049ad6d4fa58f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 24 Nov 2008 20:21:09 +0000 Subject: [PATCH] Send correct status. Props yonosoytu. see #7361 git-svn-id: https://develop.svn.wordpress.org/trunk@9861 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app.php b/wp-app.php index ccbe4e3c41..fa47b0e4b3 100644 --- a/wp-app.php +++ b/wp-app.php @@ -1392,7 +1392,7 @@ EOD; nocache_headers(); header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"'); header("HTTP/1.1 401 $msg"); - header('Status: ' . $msg); + header('Status: 401 ' . $msg); header('Content-Type: text/html'); $content = <<