util_get_http_status

EveAndersson.com : API Browser : util_get_http_status

util_get_http_status

util_get_http_status url [ use_get_p ] [ timeout ]
Defined in packages/acs-core/utilities-procs.tcl

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
use_get_p (defaults to "1")
timeout (defaults to "30")
[ show source ]

Show another procedure:

eve@eveandersson.com