From e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Tue, 18 Jun 2013 22:14:52 +0200 Subject: ... --- picohttp.c | 7 +++++++ picohttp.h | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/picohttp.c b/picohttp.c index 43d4652..eb5decc 100644 --- a/picohttp.c +++ b/picohttp.c @@ -196,6 +196,13 @@ static int16_t picohttpIoGetPercentCh( return ch; } +uint16_t picohttpGetch(struct picohttpRequest * const req) +{ + /* read HTTP query body, skipping over Chunked Transfer Boundaries + * if Chunked Transfer Encoding is used */ + +} + /* TODO: * It is possible to do in-place pattern matching on the route definition * array, without first reading in the URL and then processing it here. diff --git a/picohttp.h b/picohttp.h index 803587d..24212e5 100644 --- a/picohttp.h +++ b/picohttp.h @@ -138,9 +138,7 @@ int picohttpResponseWrite ( size_t len, char const *buf ); -uint16_t picohttpGetch( - struct picohttpRequest * const req, - struct picohttpChunkTransfer * const ct); +uint16_t picohttpGetch(struct picohttpRequest * const req); int picohttpMultipartNext( struct picohttpRequest * const req, -- cgit v1.2.3