diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-18 21:24:59 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-18 21:24:59 +0200 |
commit | c50c12e6206772273f62752c1c0091ac78698665 (patch) | |
tree | 25474d052aa1f199a43a7b730b13d9e2777ca22b /picohttp.h | |
parent | 3293d9eeed04c67669c06bc745ea9ee05012cb7f (diff) | |
download | litheweb-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |