]> granicus.if.org Git - pdns/commitdiff
add missing statuscode in webserver
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 25 Jul 2014 13:21:50 +0000 (15:21 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 25 Jul 2014 13:43:26 +0000 (15:43 +0200)
pdns/ws-auth.cc

index 68a2333cbbc15874b60bf101a55ea2f971816e1f..7738dd88158767e181d1e8ab4e7ecfc21a16f358 100644 (file)
@@ -282,6 +282,7 @@ void AuthWebServer::indexfunction(HttpRequest* req, HttpResponse* resp)
   ret<<"</body></html>"<<endl;
 
   resp->body = ret.str();
+  resp->status = 200;
 }
 
 static void fillZone(const string& zonename, HttpResponse* resp) {