Public Member Functions | |
allowedURL ($url) | |
URLHasAllowedScheme ($url) | |
_findRedirect ($headers) | |
get ($url, $headers) |
Definition at line 35 of file HTTPFetcher.php.
_findRedirect | ( | $ | headers | ) |
private
Definition at line 61 of file HTTPFetcher.php.
allowedURL | ( | $ | url | ) |
Return whether a URL should be allowed. Override this method to conform to your local policy.
By default, will attempt to fetch any http or https URL.
Definition at line 43 of file HTTPFetcher.php.
get | ( | $ | url, | |
$ | headers | |||
) |
Fetches the specified URL using optional extra headers and returns the server's response.
string | $url The URL to be fetched. | |
array | $extra_headers An array of header strings (e.g. "Accept: text/html"). |
Reimplemented in Services_Yadis_ParanoidHTTPFetcher, and Services_Yadis_PlainHTTPFetcher.
Definition at line 84 of file HTTPFetcher.php.
URLHasAllowedScheme | ( | $ | url | ) |