Part of twisted.web.iweb View Source View In Hierarchy
IRequest.write
,
for example for compression purpose.Present Since | 12.3 |
Method | encode | Encode the data given and return the result. |
Method | finish | Callback called when the request is closing. |
Parameters | data | The content to encode. (type: str ) |
Returns | The encoded data. (type: str ) |
Returns | If necessary, the pending data accumulated from previous
encode calls. (type: str ) |