mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
test is added
This commit is contained in:
parent
92d42567fa
commit
1bda1bc839
BIN
tests/queries/0_stateless/02967_http_compressed.reference
Normal file
BIN
tests/queries/0_stateless/02967_http_compressed.reference
Normal file
Binary file not shown.
12
tests/queries/0_stateless/02967_http_compressed.sh
Executable file
12
tests/queries/0_stateless/02967_http_compressed.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: gzip' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | gzip -d
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: br' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | brotli -d
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: xz' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | xz -d
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: zstd' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | zstd -d
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: lz4' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | lz4 -dc
|
||||
curl -sS -d 'SELECT 1,2,3,42' -H 'Accept-Encoding: bz2' -X POST "${CLICKHOUSE_URL}&compress=1&enable_http_compression=1" | bzip2 -d
|
Loading…
Reference in New Issue
Block a user