http status moved permanently is code 301
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
22b5b3cfa6
commit
31e023dcb4
1 changed files with 1 additions and 1 deletions
2
quark.c
2
quark.c
|
@ -53,7 +53,7 @@ typedef struct {
|
||||||
} RequestHandler;
|
} RequestHandler;
|
||||||
|
|
||||||
static const char HttpOk[] = "200 OK";
|
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 HttpUnauthorized[] = "401 Unauthorized";
|
||||||
static const char HttpNotFound[] = "404 Not Found";
|
static const char HttpNotFound[] = "404 Not Found";
|
||||||
static const char texthtml[] = "text/html";
|
static const char texthtml[] = "text/html";
|
||||||
|
|
Loading…
Reference in a new issue