Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)


I think that's because the web server doesn't implement HEAD requests (that's your -I flag).


I think GP knows that and is just surprised that it doesn't support HEAD.


  $ 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: