summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-28 23:23:10 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-28 23:23:10 -0400
commit0308b0cc9fab95f0f12aa874ae1fcded31d7f573 (patch)
tree47e40528e1439e161b3f855e2bab7c7233b6d94a /internal.h
parent845ddb43da8aa2a8c80a9d9638d63386ddf97d7e (diff)
downloadlibfhp-0308b0cc9fab95f0f12aa874ae1fcded31d7f573.tar.bz2
libfhp-0308b0cc9fab95f0f12aa874ae1fcded31d7f573.zip
add content-type parser
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
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;