mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
CORS header test, fix grep
This commit is contained in:
parent
9c66d18cb5
commit
c04e82263d
@ -1,4 +1,4 @@
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=1' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=0' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=1' --data-binary @- <<< "SELECT 1" 2>&1 | grep "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=1' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep -F "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=0' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep -F "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/' -H "Origin:smi2.ru" --data-binary @- <<< "SELECT 1" 2>&1 | grep -F "< Access-Control-Allow-Origin: *" | wc -l
|
||||
curl -vsS 'http://localhost:8123/?add_http_cors_header=1' --data-binary @- <<< "SELECT 1" 2>&1 | grep -F "< Access-Control-Allow-Origin: *" | wc -l
|
||||
|
Loading…
Reference in New Issue
Block a user