Make POST upload example script easier to use
No binary (build failed)
—
(log yok)
| @@ -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 | |