aboutsummaryrefslogtreecommitdiff
path: root/test/bsdsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bsdsocket.c')
-rw-r--r--test/bsdsocket.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bsdsocket.c b/test/bsdsocket.c
index bddb5be..63f3d17 100644
--- a/test/bsdsocket.c
+++ b/test/bsdsocket.c
@@ -138,6 +138,10 @@ void rhUpload(struct picohttpRequest *req)
return;
char http_test[] = "handling request /upload";
+
+ struct picohttpMultipart mp;
+ picohttpMultipartNext(req, &mp);
+
picohttpResponseWrite(req, sizeof(http_test)-1, http_test);
if(req->urltail) {
picohttpResponseWrite(req, strlen(req->urltail), req->urltail);