diff --git a/dbms/tests/queries/0_stateless/00501_http_head.reference b/dbms/tests/queries/0_stateless/00501_http_head.reference index 8bbf4ff0b36..9727c63b2d8 100644 --- a/dbms/tests/queries/0_stateless/00501_http_head.reference +++ b/dbms/tests/queries/0_stateless/00501_http_head.reference @@ -1,12 +1,12 @@ -< HTTP/1.1 200 OK -< Connection: Keep-Alive -< Content-Type: text/tab-separated-values; charset=UTF-8 -< Transfer-Encoding: chunked -< Keep-Alive: timeout=3 -< -< HTTP/1.1 200 OK -< Connection: Keep-Alive -< Content-Type: text/tab-separated-values; charset=UTF-8 -< Transfer-Encoding: chunked -< Keep-Alive: timeout=3 -< +HTTP/1.1 200 OK +Connection: Keep-Alive +Content-Type: text/tab-separated-values; charset=UTF-8 +Transfer-Encoding: chunked +Keep-Alive: timeout=3 + +HTTP/1.1 200 OK +Connection: Keep-Alive +Content-Type: text/tab-separated-values; charset=UTF-8 +Transfer-Encoding: chunked +Keep-Alive: timeout=3 + diff --git a/dbms/tests/queries/0_stateless/00501_http_head.sh b/dbms/tests/queries/0_stateless/00501_http_head.sh index 79699041736..332b06dc944 100755 --- a/dbms/tests/queries/0_stateless/00501_http_head.sh +++ b/dbms/tests/queries/0_stateless/00501_http_head.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -( curl -v --max-time 0.3 -X "HEAD" 'http://localhost:18123/?query=SELECT%201'; - curl -v --max-time 0.3 -X "HEAD" 'http://localhost:18123/?query=select+*+from+system.numbers+limit+1000000' ) 2>&1 | grep -e "^<" | grep -v "Date:" +( curl -s --head "${CLICKHOUSE_URL:=http://localhost:8123/}?query=SELECT%201"; + curl -s --head "${CLICKHOUSE_URL:=http://localhost:8123/}?query=select+*+from+system.numbers+limit+1000000" ) | grep -v "Date:"