From 0308b0cc9fab95f0f12aa874ae1fcded31d7f573 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 28 Aug 2016 23:23:10 -0400 Subject: add content-type parser --- internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 1e2733a..0f557a9 100644 --- a/internal.h +++ b/internal.h @@ -194,6 +194,7 @@ typedef enum { FHP_STR_HTTP_10, FHP_STR_HTTP_11, FHP_STR_CONTENT_LENGTH, + FHP_STR_CONTENT_TYPE, FHP_STR_TRANSFER_ENCODING, FHP_STR_GZIP, FHP_STR_X_GZIP, @@ -202,6 +203,8 @@ typedef enum { FHP_STR_COMPRESS, FHP_STR_X_COMPRESS, FHP_STR_CHUNKED, + FHP_STR_APPLICATION_X_WWW_FORM_URLENCODED, + FHP_STR_MULTIPART_FORM_DATA, FHP_STR_LAST } fhp_str_t; -- cgit v1.2.3