ProCacheTests::urlHeaders() method
Return all response headers for given URL
Usage
// basic usage
$array = $tests->urlHeaders(string $url);
// usage with all arguments
$array = $tests->urlHeaders(string $url, bool $requireCURL = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$url | string | URL get get response headers for |
$requireCURL (optional) | bool | Require this test to use CURL rather than other WireHttp methods? Default:false |
Return value
arrayArray of HTTP headers
API reference based on ProcessWire core version 3.0.252