From b6365cb19fef52e6d2ecc0dfe4d39c69c4c6099b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 15 Feb 2014 14:31:14 +0100 Subject: [PATCH 1/3] http status moved permanently is code 301 Signed-off-by: Hiltjo Posthuma --- quark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quark.c b/quark.c index 234f6e2..152476a 100644 --- a/quark.c +++ b/quark.c @@ -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"; -- 1.8.5.3