I need a URL to just test basic http connectivity. It needs to be consistent and:
- Always be up
- Never change drastically due to IP or user agent. (IE: 301 Location redirect/ huge difference in content... minor would be开发者_JAVA百科 tolerable)
- The URL itself has a consistent content-length. (IE: it doesn't vary from by 2kb at most, ever)
A few examples, yet none match all 3 criteria:
- One example of always up: www.google.com (yet it 301 redirects based on IP location).
- Another good one is http://www.google.com/webhp?hl=en. but the problem there is that based on a given holiday, the content-length can really vary.
It might not be obvious; but http://example.com, http://example.net and http://example.org are actual, real sites; the might suit your needs.
Edit: I'm not sure about the specifics of their uptime stats and IP address, but I imagine these things, as well as the contents, are completely and utterly static.
Why not go to something like http://www.google.com/ncr? Then you won't be redirected
You could create your own website, at least then you will know that the content will never change and you you will know when its down?
精彩评论