HTTP.getURL3kaya
Retrieve a url by http.
Usage
String getURL( HTTPURL url, [Pair<String, String> ] headers=createArray(1), HTTPversion version=HTTP10, [String] certfiles=[] )
Arguments
url A HTTP.HTTPURL (3kaya)
headers A list of key/value pairs of extra HTTP headers (optional, defaulting to the empty list)
version The HTTP version
certfiles A list of SSL certificate files, each containing one or more PEM encoded certificates of trusted Certification Authorities, used for HTTPS connections. This list may be empty (the default), but this is much less secure. For HTTP connections, this parameter is ignored.
Overview
Retrieve a URL by HTTP. The String returned will contain the HTTP response headers and response body exactly as sent by the server. Because Strings may not contain null bytes, this function is not suitable for retrieving binary data.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.