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
|
<POST http://127.0.0.1:8000/cgi-bin/echo.cgi multipart/form-data
<TextareaControl(blah=)>
<TextControl(comments=)>
<CheckboxControl(eggs=[spam])>
<SelectControl(cheeses=[mozz, caerphilly, gouda, gorgonzola, parmesan, leicester, cheddar, mascarpone, curd, limburger, emmenthal])>
<CheckboxControl(apples=[pears])>
<CheckboxControl(whocares=[edam, gouda])>
<RadioControl(spam=[spam, rhubarb])>
<RadioControl(smelly=[on])>
<SelectControl(favorite_cheese=[*cheddar, brie, leicester, jahlsberg])>
<FileControl(<None>=<No files added>)>>
False
False
cheeses ['parmesan', 'leicester', 'cheddar'] select
curd True None {'value': 'curd', 'contents': 'curd', 'label': 'curd'}
mozz
caerphilly
gouda
gorgonzola
parmesan
leicester
cheddar
mascarpone
curd
limburger
emmenthal
False
False
True
False
http://127.0.0.1:8000/cgi-bin/echo.cgi
Connection: close
Content-Type: text/html
<html><head><title>Form submission parameters</title></head>
<p>Received parameters:</p>
<pre>
favorite_cheese: brie
blah: rhubarb rhubarb
spam: spam
comments: Blah.
cheeses: caerphilly, gorgonzola
</pre></html>
|