/usr/share/doc/python-mechanize/examples/forms/example.html is in python-mechanize 1:0.2.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | <html>
<head>
<title>Example</title>
</head>
<body>
<!--Note that echo.cgi doesn't show file upload data-->
<form action="/cgi-bin/echo.cgi"
method="POST" enctype="multipart/form-data">
<input type="textarea" name="blah"></input>
<input type="text" name="comments"></input>
<input type="checkbox" name="eggs" value="spam"></input>
<label for="chz">Please select a cheese</label>
<select multiple name="cheeses" id="chz">
<option value="mozz">Mozzarella</option>
<option value="caerphilly">Caerphilly</option>
<option>gouda</option>
<option>gorgonzola</option>
<option>parmesan</option>
<option>leicester</option>
<option>cheddar</option>
<option>mascarpone</option>
<option>curd</option>
<option>limburger</option>
<option>emmenthal</option>
</select>
<input type="checkbox" name="apples" value="pears"></input>
<input type="checkbox" name="whocares" value="edam"></input>
<input type="checkbox" name="whocares" value="gouda"></input>
<input type="radio" name="spam" value="spam"></input>
<input type="radio" name="spam" value="rhubarb"></input>
<input type="radio" name="smelly"></input>
<label for="fchz" value="What's your favourite cheese?" />
<select single name="favorite_cheese" id="fchz">
<option>cheddar</option>
<option>brie</option>
<option>leicester</option>
<option>jahlsberg</option>
</select>
<input type="file"></input>
</form>
</body>
</html>
|