summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-23 12:13:23 -0400
committerEliot Horowitz <eliot@10gen.com>2010-03-23 12:13:23 -0400
commita7833959a5b1f4dab3f7a8ed930e861f676c317d (patch)
tree2a186da9360f543f953846f2ab98cc7ee4ddab66
parent48cc94ad5523faec1eba48f1c44bc70d3b9ed809 (diff)
downloadmongo-a7833959a5b1f4dab3f7a8ed930e861f676c317d.tar.gz
set response code on _status
-rw-r--r--db/dbwebserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/dbwebserver.cpp b/db/dbwebserver.cpp
index bf6b728cccb..75d3a9211e1 100644
--- a/db/dbwebserver.cpp
+++ b/db/dbwebserver.cpp
@@ -316,6 +316,7 @@ namespace mongo {
return;
}
generateServerStatus( url , responseMsg );
+ responseCode = 200;
return;
}