summaryrefslogtreecommitdiffhomepage
path: root/http.c
blob: 7616392b35e45579d488c1389505e53d34efba3d (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "http.h"

const char * status_str[] = {
	[STATUS_OK] = "200 OK",
	[STATUS_BAD_REQUEST] = "400 Bad Request",
	[STATUS_METHOD_NOT_ALLOWED] = "405 Method Not Allowed",
	[STATUS_REQUEST_TIMEOUT] = "408 Request Timeout",
	[STATUS_INTERNAL_SERVER_ERROR] = "500 Internal Server Error",
	[STATUS_NOT_IMPLEMENTED] = "501 Not Implemented",
	[STATUS_VERSION_NOT_SUPPORTED] = "505 Version Not Supported",
};