Skip to main content

Illustration of building your own ajax framework with a python3 wsgi server

Project description

1) install python3
2) git clone https://code.google.com/p/appwsgi/ wsgi-design
3) python3 server.py and go to index page

All the examples are sending json objects, no html is being generated by the server. Pleas take a look at the source code and consider this technique in your future projects.

client request
Cookie: bac0c1f9a9362f9e
{“cmd”:”order”,
“sid”:”bac0c1f9a9362f9e”,
“input”:”…”}

server response
Set-Cookie: bac0c1f9a9362f9e
{“uid”:”gert”,
“gid”:”admin”,
“output”:”…”}

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page