25
loading...
This website collects cookies to deliver better user experience
GET /index.html
. The server finds that page on the disk, reads index.html
file and returns a response with content of index.html
file. Web could also return CSS files or other static assets, but the whole idea back then was simple like this.form.py
, json.py
. form.py
would process form-data and json.py
would process json-data. Now, instead of sending bear metal file names in requests like GET /index.html
. Web servers started to get requests as GET form.py
. That used to indicate that server has to run form.py
that is an external script to process an html form request.print()
statement in external scripts turned out to be the http response to the client.__call__
method) as below: