|
◆ post()
def websocketd.Httpd.post |
( |
|
self, |
|
|
|
connection |
|
) |
| |
Handle POST request.
This function responds with an error by default. It must be overridden to handle POST requests.
- Parameters
-
connection | Same as for page(), plus connection.post, which is a 2-tuple. The first element is a dict of name:['value', ...] for fields without a file. The second element is a dict of name:[(local_filename, remote_filename), ...] for fields with a file. When done, the local files are unlinked; remove the items from the dict to prevent this. |
- Returns
- True to keep connection open after this request, False to close it.
Definition at line 1293 of file websocketd.py.
|