quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 31e023dcb496f814136ae36eac51ecd36133e95a
parent 22b5b3cfa6b28f8e0c6c35c04ad9b4cb609b5643
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 15 Feb 2014 14:31:14 +0100

http status moved permanently is code 301

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mquark.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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";