Home
The Toolkit for Online Communities
15939 Community Members, 0 members online, 2258 visitors today
Log In Register

ad_httpget

OpenACS Home : ACS API Browser : ad_httpget

ad_httpget (public)

ad_httpget [ -url url ] [ -headers headers ] [ -timeout timeout ] \
    [ -depth depth ]
Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Just like ns_httpget, but first headers is an ns_set of headers to send during the fetch. ad_httpget also makes use of Conditional GETs (if called with a Last-Modified header). Returns the data in array get form with array elements page status modified.

Switches:
-url (optional)
-headers (optional)
-timeout (defaults to "30") (optional)
-depth (defaults to "0") (optional)
[ show source ]
Show another procedure: