From c50c12e6206772273f62752c1c0091ac78698665 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Tue, 18 Jun 2013 21:24:59 +0200 Subject: added header processing for content type and transfer encoding - chunked --- picohttp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'picohttp.h') 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 { @@ -138,6 +138,9 @@ struct picohttpRequest { uint8_t contentencoding; uint8_t transferencoding; } response; + struct { + size_t length; + } currentchunk; struct { size_t octets; uint8_t header; -- cgit v1.2.3