diff options
| author | aryan <aryan@Aryans-MacBook-Pro.local> | 2020-02-20 00:23:48 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-30 10:30:43 +0200 |
| commit | 11c4a4412b74bb1dfe52d706a58f230066821c33 (patch) | |
| tree | e97fad6c1f924d372f791e6637a435f439a1f146 /docs/ref/files | |
| parent | 21b127bfbc8738705ecee97407161caae612d6b1 (diff) | |
Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.
This patch allows upload handlers to handle interrupted uploads.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/uploads.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt index 4ce4eb991a..eba7392ddc 100644 --- a/docs/ref/files/uploads.txt +++ b/docs/ref/files/uploads.txt @@ -212,6 +212,13 @@ attributes: Callback signaling that the entire upload (all files) has completed. +.. method:: FileUploadHandler.upload_interrupted() + + .. versionadded:: 3.2 + + Callback signaling that the upload was interrupted, e.g. when the user + closed their browser during file upload. + .. method:: FileUploadHandler.handle_raw_input(input_data, META, content_length, boundary, encoding) Allows the handler to completely override the parsing of the raw |
