http status moved permanently is code 301

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-02-15 14:31:14 +01:00 committed by sin
parent 22b5b3cfa6
commit 31e023dcb4

View file

@ -53,7 +53,7 @@ typedef struct {
} RequestHandler;
static const char HttpOk[] = "200 OK";
static const char HttpMoved[] = "302 Moved Permanently";
static const char HttpMoved[] = "301 Moved Permanently";
static const char HttpUnauthorized[] = "401 Unauthorized";
static const char HttpNotFound[] = "404 Not Found";
static const char texthtml[] = "text/html";