Index: wp-comments-post.php
===================================================================
--- wp-comments-post.php	(revision 13594)
+++ wp-comments-post.php	(working copy)
@@ -30,7 +30,7 @@
 
 if ( !comments_open($comment_post_ID) ) {
 	do_action('comment_closed', $comment_post_ID);
-	wp_die( __('Sorry, comments are closed for this item.') );
+	wp_die( __('Sorry, comments are closed for this item.'), '', array( 'response' => 403 )  );
 } elseif ( 'trash' == $status->post_status ) {
 	do_action('comment_on_trash', $comment_post_ID);
 	exit;
@@ -65,20 +65,20 @@
 	}
 } else {
 	if ( get_option('comment_registration') || 'private' == $status->post_status )
-		wp_die( __('Sorry, you must be logged in to post a comment.') );
+		wp_die( __('Sorry, you must be logged in to post a comment.'), '', array( 'response' => 401 ) );
 }
 
 $comment_type = '';
 
 if ( get_option('require_name_email') && !$user->ID ) {
 	if ( 6 > strlen($comment_author_email) || '' == $comment_author )
-		wp_die( __('Error: please fill the required fields (name, email).') );
+		wp_die( __('Error: please fill the required fields (name, email).'), '', array( 'response' => 200 )  );
 	elseif ( !is_email($comment_author_email))
-		wp_die( __('Error: please enter a valid email address.') );
+		wp_die( __('Error: please enter a valid email address.'), '', array( 'response' => 200 )  );
 }
 
 if ( '' == $comment_content )
-	wp_die( __('Error: please type a comment.') );
+	wp_die( __('Error: please type a comment.'), '', array( 'response' => 200 )  );
 
 $comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0;
 
