Request object¶
Request object is a dict with keys:
request :: args¶
- type:
dictQuery string arguments
request :: headers¶
- type:
tornado.netutil.HTTPHeadersHTTP headers
request :: path¶
- type:
strThe path fragment of the requested URL
request :: method¶
- type:
strMethod of HTTP request
request :: data¶
- type:
bytesThe data submitted with HTTP request
request :: files¶
- type:
???
Files sent in request (in case of form/multipart-data).
request :: client_ip¶
- type:
strIP address of the client sent the request
request :: done¶
- type:
boolThe flag means if the request has been performed
request :: charset¶
- type:
strThe character set which data of request are encoded with. This is the only request parameter which is set by YOU and not by the server. If you expect the data from the client would be in non UTF-8 encoding then specify correct encoding with:
server.request['charset'] = '<encoding>'