9 lines
273 B
C
9 lines
273 B
C
|
#define PORT 8080
|
||
|
#define BUFFER_SIZE 1024
|
||
|
|
||
|
const char SERVER_VERSION[] = "winnie-http-server/0.0.1";
|
||
|
|
||
|
const char BAD_REQUEST_RESP[] = "HTTP/1.1 400 Bad Request\r\n";
|
||
|
const char NOT_FOUND_RESP[] = "HTTP/1.1 404 Not Found\r\n";
|
||
|
const char OK_RESP[] = "HTTP/1.1 200 OK\r\n";
|