~a-state-of-mind/+junk/mmclient

« back to all changes in this revision

Viewing changes to mmclient/templates/sendrequest.html

  • Committer: root
  • Date: 2009-04-02 16:39:17 UTC
  • Revision ID: root@mailman-20090402163917-bchhgcytih0gq1nn
initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns:py="http://genshi.edgewall.org/">
 
2
<head>
 
3
        <title py:content="c.title">This is replaced.</title>
 
4
</head>
 
5
<body>
 
6
        <h2>So, this is what I got from you</h2>
 
7
        <p>Firstname: ${request.params['firstname']}<br />
 
8
        Lastname: ${request.params['lastname']}</p>
 
9
        ${request.headers['Accept-Language']}
 
10
 
 
11
        <h2>Now I take this and send it to someone who understands HTTP</h2>
 
12
        <p>URL: ${c.url}<br />
 
13
        HTTP Status: ${c.status}<br />
 
14
        HTTP Msg: ${c.reason}</p>
 
15
 
 
16
        <h2>Retrieved Data</h2>
 
17
        <p>
 
18
        ${c.content}
 
19
        </p>
 
20
 
 
21
        <h2>Extracted from JSON</h2>
 
22
        <p>
 
23
        <py:for each="name, value in sorted(c.j.iteritems())">
 
24
                ${name}: ${value}<br />
 
25
        </py:for>
 
26
        </p>
 
27
 
 
28
        <a href="/srcl/index">New try</a>
 
29
</body>
 
30
</html>