summaryrefslogtreecommitdiffhomepage
path: root/http.h
blob: 52a1822e44bdba7ce3f49e7a70ef7aaf03c72984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

enum status
{
	STATUS_OK = 200,
	STATUS_BAD_REQUEST = 400,
	STATUS_METHOD_NOT_ALLOWED = 405,
	STATUS_REQUEST_TIMEOUT = 408,
	STATUS_INTERNAL_SERVER_ERROR = 500,
	STATUS_NOT_IMPLEMENTED = 501,
	STATUS_VERSION_NOT_SUPPORTED = 505,
};

extern const char * status_str[];