~oubiwann/+junk/rabbitmq-app-data

« back to all changes in this revision

Viewing changes to messaging/amqp/twisted/simple-web-store/00-original/webstore.py

  • Committer: Duncan McGreggor
  • Date: 2009-06-22 06:06:07 UTC
  • Revision ID: oubiwann@lorien-20090622060607-dzclnr9ezx617gfi
* Cleaned up the web stores.
* Simplified the passed arg to the endpoint.
* Added a fake CRM XML-RPC server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
<html>
6
6
<body>
7
7
<form action="/processOrder" method="put">
 
8
<input type="hidden" name="orderID" value="01234" />
8
9
<input type="text" name="item" value="kilt"><br/>
9
10
<input type="text" name="size" value="large"<br/>
10
11
<input type="submit" value="Place Order" />
36
37
    def render_GET(self, request):
37
38
        item = request.args["item"][0]
38
39
        size = request.args["size"][0]
 
40
        order_id = request.args["orderID"][0]
39
41
        # code for saving these to a database
40
42
        return THANKS
41
43