annotate tests/suite_12_methods/files/name_lc.pspx @ 71:88adf10be709 draft

Add tests.
author David Barts <n5jrn@me.com>
date Mon, 15 Jul 2019 13:16:31 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
71
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
1 #rem A page that accepts both GET and POST requests (non UC version,
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
2 #rem to verify case insensitivity of request methods).
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
3 #methods Get post
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
4 #python name.py
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
5 <!DOCTYPE html>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
6 <html>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
7 <head>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
8 <title>Form Test</title>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
9 </head>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
10 <body>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
11 <h1>Form Test</h1>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
12 <h2>Enter Your Name Below</h2>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
13 <form method="post">
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
14 <input type="text" name="name"/>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
15 <input type="submit" value="Submit"/>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
16 </form>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
17 <if tal:condition="message is not None" tal:omit-tag="True">
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
18 <h2 tal:content="message.subject"></h2>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
19 <p tal:attributes="style message.style" tal:content="message.body"></p>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
20 </if>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
21 </body>
88adf10be709 Add tests.
David Barts <n5jrn@me.com>
parents:
diff changeset
22 </html>