4 ms·
also interesting: curl -I https://news.ycombinator.com HTTP/1.1 501 Not Implemented Server: nginx Date: Mon, 06 May 2013 04:31:05 GMT Conte
by kevinburke 13y ago
also interesting:
curl -I https://news.ycombinator.com
HTTP/1.1 501 Not Implemented
Server: nginx
Date: Mon, 06 May 2013 04:31:05 GMT
Content-Type: text/html
Content-Length: 174
Connection: close
don't see that one every day :)
- deleted 13y ago[deleted]
- enneff 13y agoI think that's because the web server doesn't implement HEAD requests (that's your -I flag).
- jimktrains2 13y agoI think GP knows that and is just surprised that it doesn't support HEAD.
- spicyj 13y ago$ curl -IX GET https://news.ycombinator.com HTTP/1.1 200 OK Server: nginx Date: Mon, 06 May 2013 04:41:40 GMT Content-Type: text/html; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Cache-Control: private X-Frame-Options: DENY Cache-Control: max-age=0 Strict-Transport-Security: max-age=31556900; includeSubDomains
- deleted 13y ago[deleted]