diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-06-18 22:14:52 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@draxit.de> | 2013-06-18 22:14:52 +0200 |
commit | e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e (patch) | |
tree | 21410c5cfc13348f3c90eec17c9f4f388af4ef28 | |
parent | fc9f3c0bde26bc882bdfe1ec0435ade8b60172f4 (diff) | |
download | litheweb-e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e.tar.gz litheweb-e7b86baeec0ef6f946e2b60a68876eb6f3cdc32e.tar.bz2 |
...
-rw-r--r-- | picohttp.c | 7 | ||||
-rw-r--r-- | picohttp.h | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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. @@ -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, |