Summary Files Commits Branches @commit @diff @stats
path: root / src / http / http_headers.h
diff options
context:
space:
mode:
1 files changed, 17 insertions, 0 deletions
-rw-r--r--src/http/http_headers.h17
diff --git a/src/http/http_headers.h b/src/http/http_headers.h
new file mode 100644
index 0000000..0e83dfd
--- /dev/null
+++ b/src/http/http_headers.h
@@ -0,0 +1,17 @@
+#ifndef __TERGIV_HTTP_HEADERS
+#define __TERGIV_HTTP_HEADERS
+
+enum HttpHeader {
+ HE_Host = 0,
+ HE_Content_Length,
+ HE_Content_Type,
+ HE_LENGTH,
+};
+
+static const char* HTTP_HEADER_NAME[] = {
+ "Host",
+ "Content-Length",
+ "Content-Type",
+};
+
+#endif /* __TERGIV_HTTP_HEADERS */