#ifndef CONFIG_H #define CONFIG_H #define KHTTPD_NAME "khttpd" #define KHTTPD_HTTP_VERSION "HTTP/1.0" #define KHTTPD_SERVER_HEADER "Server: " KHTTPD_NAME "\r\n" #define KHTTPD_STATUS_OK "OK" #define KHTTPD_STATUS_BAD_REQUEST "Bad Request" #define KHTTPD_STATUS_FORBIDDEN "Forbidden" #define KHTTPD_STATUS_NOT_FOUND "Not Found" #define KHTTPD_STATUS_METHOD_NOT_ALLOWED "Method Not Allowed" #define KHTTPD_STATUS_MOVED_PERMANENTLY "Moved Permanently" #define KHTTPD_STATUS_PARTIAL_CONTENT "Partial Content" #define KHTTPD_STATUS_NOT_MODIFIED "Not Modified" #define KHTTPD_STATUS_URI_TOO_LONG "URI Too Long" #define KHTTPD_STATUS_RANGE_NOT_SATISFIABLE "Range Not Satisfiable" #define KHTTPD_STATUS_INTERNAL_ERROR "Internal Server Error" #define KHTTPD_STATUS_HTTP_UNSUPPORTED "HTTP Version Not Supported" #define KHTTPD_STATUS_ERROR "Error" #define KHTTPD_MSG_BAD_REQUEST "bad request\n" #define KHTTPD_MSG_FORBIDDEN "forbidden\n" #define KHTTPD_MSG_NOT_FOUND "not found\n" #define KHTTPD_MSG_METHOD_NOT_ALLOWED "method not allowed\n" #define KHTTPD_MSG_SERVER_BUSY "server busy\n" #define KHTTPD_MSG_SERVER_ERROR "server error\n" #define KHTTPD_MSG_HTTP_UNSUPPORTED "http version not supported\n" #define KHTTPD_MSG_URI_TOO_LONG "uri too long\n" #endif