aboutsummaryrefslogtreecommitdiff
path: root/examples/upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/upload.c')
-rw-r--r--examples/upload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/upload.c b/examples/upload.c
index 9dc1efd..1dc9659 100644
--- a/examples/upload.c
+++ b/examples/upload.c
@@ -53,12 +53,12 @@ void print_webpage()
"<html xmlns='http://www.w3.org/1999/xhtml'>"
"<head><title>Upload File</title></head>"
"<body>"
- "<form action='/cgi-bin/upload' method='POST' "
- "enctype='multipart/form-data'>"
+ "<form action='/cgi-bin/upload' method='post' "
+ "enctype='multipart/form-data'><fieldset>"
"<input type='text' name='name' value='filename'/>"
"<input type='file' name='data'/>"
"<input type='submit' value='Upload'/>"
- "</form>"
+ "</fieldset></form>"
"</body>"
"</html>"
);