Document file compression
This commit is contained in:
parent
a528b45d60
commit
ccc2d7d2da
@ -243,7 +243,20 @@ TODO:
|
|||||||
Compression
|
Compression
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
TODO:
|
Individual files can be transmitted compressed if needed.
|
||||||
|
Currently, only :rfc:`1950` ZLIB based deflate compression is
|
||||||
|
supported, which is specified using the ``compression=zlib`` key when
|
||||||
|
requesting a file. For example when sending files to the terminal emulator,
|
||||||
|
when sending the file metadata the ``compression`` key can also be
|
||||||
|
specified::
|
||||||
|
|
||||||
|
→ action=file id=someid file_id=f1 name=/path/to/destination compression=zlib
|
||||||
|
|
||||||
|
Similarly when receiving files from the terminal emulator, the final file
|
||||||
|
command that the client sends to the terminal requesting the start of the
|
||||||
|
transfer of data for the file can include the ``compression`` key::
|
||||||
|
|
||||||
|
→ action=file id=someid file_id=f1 name=/some/path
|
||||||
|
|
||||||
.. _bypass_auth:
|
.. _bypass_auth:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user