Added test script to show the server header
This commit is contained in:
3
tests/check_header.sh
Executable file
3
tests/check_header.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/env bash
|
||||
# -s is for silent (no progress bar) | -I is to get the headers | grep is to find only the Server line
|
||||
curl -s -I http://localhost:5000 | grep "Server:"
|
||||
Reference in New Issue
Block a user