1<!--
2  #%L
3  NanoHttpd-Core
4  %%
5  Copyright (C) 2012 - 2015 nanohttpd
6  %%
7  Redistribution and use in source and binary forms, with or without modification,
8  are permitted provided that the following conditions are met:
9
10  1. Redistributions of source code must retain the above copyright notice, this
11     list of conditions and the following disclaimer.
12
13  2. Redistributions in binary form must reproduce the above copyright notice,
14     this list of conditions and the following disclaimer in the documentation
15     and/or other materials provided with the distribution.
16
17  3. Neither the name of the nanohttpd nor the names of its contributors
18     may be used to endorse or promote products derived from this software without
19     specific prior written permission.
20
21  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
25  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
29  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
30  OF THE POSSIBILITY OF SUCH DAMAGE.
31  #L%
32  -->
33<html>
34 <body>
35  <p>This is a file upload test for NanoHTTPD.</p>
36   <form action="http://localhost:8080/" enctype="multipart/form-data" method="post">
37    <label for="textline">Text:</label>
38       <input type="text" id="textline" name="textline" size="30"><br>
39    <label for="datafile1">First File:</label>
40       <input type="file" id="datafile1" name="datafile1" size="40"><br>
41    <label for="datafile2">Second File:</label>
42       <input type="file" id="datafile2" name="datafile2" size="40"><br>
43    <label for="datafile2">Third File:</label>
44       <input type="file" id="datafile3" name="datafile3" size="40"><br>
45    <input type="submit">
46   </form>
47 </body>
48</html>
49