plugin XEP-0363, upload: File upload (through HTTP upload only for now):

- HTTP upload implementation
    - if the upload link is HTTPS, certificate is checked (can be disabled on demand)
    - file can be uploaded directly, or a put/get slot can be requested without actual upload.
        The later is mainly useful for distant frontends like Libervia
    - upload plugin manage different upload methods, in a similar way as file plugin
    - download url is sent in progressFinished metadata on successful upload
This commit is contained in:
Goffi 2015-11-22 17:33:30 +01:00
commit 6ee923f9ef

View file

@ -191,6 +191,7 @@ doc_param_1=metadata: dict of progress status metadata, key can be:
- hash_algo: alrorithm used to compute hash
- hash_verified: C.BOOL_TRUE if hash is verified and OK
C.BOOL_FALSE if hash was not received ([progressError] will be used if there is a mismatch)
- url: url linked to the progression (e.g. download url after a file upload)
doc_param_2=%(doc_profile)s
[progressError]