util_get_http_status (public, deprecated)

 util_get_http_status url [ use_get_p ] [ timeout ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Returns the HTTP status code, e.g., 200 for a normal response or 500 for an error, of a URL. By default this uses the GET method instead of HEAD since not all servers will respond properly to a HEAD request even when the URL is perfectly valid. Note that this means AOLserver may be sucking down a lot of bits that it doesn't need.

Parameters:
url (required)
use_get_p (optional, defaults to "1")
timeout (optional, defaults to "30")
See Also:

Partial Call Graph (max 5 caller/called nodes):
packages/bookmarks/www/bookmarks-check.tcl packages/bookmarks/ www/bookmarks-check.tcl util_get_http_status util_get_http_status packages/bookmarks/www/bookmarks-check.tcl->util_get_http_status ad_log_deprecated ad_log_deprecated (public) util_get_http_status->ad_log_deprecated util::get_http_status util::get_http_status (public) util_get_http_status->util::get_http_status

Testcases:
No testcase defined.
[ show source ]
Show another procedure: