I have a server with a lot of domain redirections that I want to check.
I do not trust the way browsers cache the domains so I am never sure if I am seeing it live or seeing a redirection from cache.
Is there a way to test the redirection from terminal and seeing the real thing without any kind of cache?
I have tried
curl -I http://example.com
as stated by other posts but it is not providing any important information on my Mac.
It gives me this:
HTTP/1.1 406 Not Acceptable
Date: Mon, 29 Jan 2018 18:26:50 GMT
Content-Type: text/html; charset=iso-8859-1