2

I know I can fetch url from AppEngine. But I just want to ping a website, without to get any other data. Is it possible?

pocoa
  • 4,197
  • 9
  • 37
  • 45

2 Answers2

4

"ping" as in ICMP or "ping" as in send an HTTP request without getting the full response? If the latter, just send a HEAD request instead of a GET.

If the former, then that probably depends on your language of choice on AppEngine

Community
  • 1
  • 1
whaley
  • 16,075
  • 10
  • 57
  • 68
  • I don't want to get the full response. I just want to know that it's working. Some sites have very big index pages which is not good for my quota. – pocoa May 16 '10 at 13:22
  • That's exactly what a HEAD request does, it retrieves the status header for a page but not the content. – wump May 17 '10 at 09:55
3

There is a whitelist of modules and an FAQ about notable exclusions. You can't do it; use whaley's HEAD request.

It is also possible for an ICMP un-pingable to serve web-pages and a ICMP pingable site to do nothing but respond to pings.

msw
  • 42,753
  • 9
  • 87
  • 112