aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-26 18:44:49 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-06-26 18:44:49 +0200
commit6563dbb5655b409aabe9514f8844711634b0aff2 (patch)
tree96a16055621251e02fcc605f22999ced84309981 /test
parent2a3fcf3f9bfe3f8362ed2eb6dd4cda44a51dee69 (diff)
downloadlitheweb-6563dbb5655b409aabe9514f8844711634b0aff2.tar.gz
litheweb-6563dbb5655b409aabe9514f8844711634b0aff2.tar.bz2
multipart separation in getch works
Diffstat (limited to 'test')
-rw-r--r--test/bsdsocket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bsdsocket.c b/test/bsdsocket.c
index cda0d4d..9665e1a 100644
--- a/test/bsdsocket.c
+++ b/test/bsdsocket.c
@@ -109,7 +109,8 @@ void rhRoot(struct picohttpRequest *req)
"<html><head><title>handling request /</title></head><body>\n"
"<a href=\"/test\">/test</a>"
"<form action=\"/upload\" enctype=\"multipart/form-data\" method=\"post\">"
-"<label for=\"file\">File: </label><input type=\"file\" name=\"file\"></input>"
+"<label for=\"file1\">File: </label><input type=\"file\" name=\"file1\"></input>"
+"<label for=\"file2\">File: </label><input type=\"file\" name=\"file2\"></input>"
"<input type=\"submit\" value=\"Upload\"></input>"
"</form>"
"</body></html>\n";