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:
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc util_get_http_status return [util::get_http_status -url $url -use_get_p $use_get_p -timeout $timeout]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-tcl/tcl/deprecated-procs.xql