4 ms·
In the case of Google, not at all: $ curl -v https://google.com [...] < HTTP/2 301 < location: https://www.google.com/
by rolodato 8y ago
In the case of Google, not at all:
$ curl -v https://google.com
[...]
< HTTP/2 301
< location: https://www.google.com/
- amenod 8y agoJust 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.