aboutsummaryrefslogtreecommitdiff
path: root/picohttp.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-18 21:24:59 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-18 21:24:59 +0200
commitc50c12e6206772273f62752c1c0091ac78698665 (patch)
tree25474d052aa1f199a43a7b730b13d9e2777ca22b /picohttp.h
parent3293d9eeed04c67669c06bc745ea9ee05012cb7f (diff)
downloadlitheweb-c50c12e6206772273f62752c1c0091ac78698665.tar.gz
litheweb-c50c12e6206772273f62752c1c0091ac78698665.tar.bz2
added header processing for content type and transfer encoding - chunked
Diffstat (limited to 'picohttp.h')
-rw-r--r--picohttp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/picohttp.h b/picohttp.h
index ced2ef5..34fc59b 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -126,7 +126,7 @@ struct picohttpRequest {
} contenttype;
size_t contentlength;
uint8_t contentencoding;
- uint8_t te;
+ uint8_t transferencoding;
char multipartboundary[PICOHTTP_MULTIPARTBOUNDARY_MAX_LEN+1];
} query;
struct {
@@ -139,6 +139,9 @@ struct picohttpRequest {
uint8_t transferencoding;
} response;
struct {
+ size_t length;
+ } currentchunk;
+ struct {
size_t octets;
uint8_t header;
} sent;