aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--picohttp.c7
-rw-r--r--picohttp.h4
2 files changed, 8 insertions, 3 deletions
diff --git a/picohttp.c b/picohttp.c
index 487a870..790f4b7 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -216,6 +216,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 ced2ef5..568f6b8 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -159,9 +159,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,