Skip to main content

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

Project description

1) install python3
2) git clone git://github.com/gertcuykens/wsgi-design.git
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


Release history Release notifications

This version
History Node

default

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page