diff options
author | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-20 21:21:54 +0200 |
---|---|---|
committer | Wolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de> | 2013-06-20 21:21:54 +0200 |
commit | 77be505fad9fbcea02b27cb89a196b1f230fe42f (patch) | |
tree | fc1711115178054714d609d442e50df76c7e997f /test | |
parent | 9de2c281d9a4c350754ceb02c6f4a65134d007ee (diff) | |
download | litheweb-77be505fad9fbcea02b27cb89a196b1f230fe42f.tar.gz litheweb-77be505fad9fbcea02b27cb89a196b1f230fe42f.tar.bz2 |
multipart separation works (almost)
Diffstat (limited to 'test')
-rw-r--r-- | test/bsdsocket.c | 4 |
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); |