#define PORT 8080 #define BUFFER_SIZE 1024 static const char SERVER_VERSION[] = "winnie-http-server/0.0.1"; static const char BAD_REQUEST_HEAD[] = "HTTP/1.1 400 Bad Request"; static const char NOT_FOUND_HEAD[] = "HTTP/1.1 404 Not Found"; static const char OK_HEAD[] = "HTTP/1.1 200 OK";