From 0c1de4cc24a4a9d51fb39b17773c74fa1ccea27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20M=C3=BChl?= Date: Wed, 28 Apr 2021 15:49:02 +0700 Subject: [PATCH] Add link to compression decisions --- Volume-Server-API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Volume-Server-API.md b/Volume-Server-API.md index e44d3c2..39934f9 100644 --- a/Volume-Server-API.md +++ b/Volume-Server-API.md @@ -29,7 +29,7 @@ curl -F file=@/home/chris/myphoto.jpg http://127.0.0.1:8080/3,01637037d6 {"size": 43234} ``` -The size returned is the size stored on SeaweedFS, sometimes the file is automatically gzipped based on the mime type. +The size returned is the size stored on SeaweedFS, sometimes the file is automatically gzipped based on the file extension or mime type [(see when compression will be applied automatically)](https://github.com/chrislusf/seaweedfs/blob/c42b95c596f762dcca2bc9c7e7a918ab8ca8b206/weed/util/compression.go#L111). | URL Parameter | Description | Default | | ---- | -- | -- |