mirror of
https://github.com/inspec/inspec
synced 2024-12-23 03:23:27 +00:00
98db74a466
The existing method of adding `-X HEAD` to the curl command does not work properly and can cause timeouts because curl doesn't properly close the connection. The correct way is to use curl's own `--head` flag. Signed-off-by: Adam Leff <adam@leff.co>
10 lines
309 B
Text
10 lines
309 B
Text
HTTP/1.1 301 Moved Permanently
|
|
Location: http://www.google.com/
|
|
Content-Type: text/html; charset=UTF-8
|
|
Date: Mon, 27 Nov 2017 16:46:15 GMT
|
|
Expires: Wed, 27 Dec 2017 16:46:15 GMT
|
|
Cache-Control: public, max-age=2592000
|
|
Server: gws
|
|
Content-Length: 219
|
|
X-XSS-Protection: 1; mode=block
|
|
X-Frame-Options: SAMEORIGIN
|