Hacker News new | ask | show | jobs
by amenod 2783 days ago
Just an FYI: in this case you might want to use `curl -i` which will display just headers + body (switch `-v` displays lots of other information too).

    $ curl -i https://google.com
    HTTP/1.1 301 Moved Permanently
    Location: https://www.google.com/
    ...
EDIT: interesting that it responds with HTTP/2 in your case and HTTP/1.1 in mine, would need to look up why the responses are different.