views:

79

answers:

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?

+4  A: 

"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

whaley
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
That's exactly what a HEAD request does, it retrieves the status header for a page but not the content.
wump
+3  A: 

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