aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:33:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 15:33:11 +0100
commit5d27cb364020f46e9dcd14f30d58c25e94e9b33b (patch)
tree78ddd9f5f437badda4be786b661e11782382c481
parent6704746c697ace0cc0de5b231fc8be4db06c40f4 (diff)
downloadbusybox-5d27cb364020f46e9dcd14f30d58c25e94e9b33b.tar.gz
Make POST upload example script easier to use
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x[-rw-r--r--]networking/httpd_post_upload.cgi (renamed from networking/httpd_post_upload.txt)20
1 files changed, 7 insertions, 13 deletions
diff --git a/networking/httpd_post_upload.txt b/networking/httpd_post_upload.cgi
index 9d504f484..e4ffd2bb5 100644..100755
--- a/networking/httpd_post_upload.txt
+++ b/networking/httpd_post_upload.cgi
@@ -1,18 +1,12 @@
-POST upload example:
-
-post_upload.htm
-===============
-<html>
-<body>
-<form action=/cgi-bin/post_upload.cgi method=post enctype=multipart/form-data>
-File to upload: <input type=file name=file1> <input type=submit>
-</form>
-
-
-post_upload.cgi
-===============
#!/bin/sh
+# post_upload.htm example:
+# <html>
+# <body>
+# <form action=/cgi-bin/httpd_post_upload.cgi method=post enctype=multipart/form-data>
+# File to upload: <input type=file name=file1> <input type=submit>
+# </form>
+
# POST upload format:
# -----------------------------29995809218093749221856446032^M
# Content-Disposition: form-data; name="file1"; filename="..."^M