mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Fix test 00501_http_head
This commit is contained in:
parent
b370551e67
commit
7e46044474
@ -0,0 +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
|
||||
<
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
curl -s --max-time 0.5 -X "HEAD" 'http://localhost:8123/?query=SELECT%201'
|
||||
curl -s --max-time 0.5 -X "HEAD" 'http://localhost:8123/?query=select+*+from+system.numbers+limit+1000000'
|
||||
( 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:"
|
||||
|
Loading…
Reference in New Issue
Block a user