| HTTP_Client::reset() | HTTP_Client::setMaxRedirects() |
| HTTP_Client | |
| PEAR Manual | |
require_once 'HTTP/Client.php';
|
void HTTP_Client::setDefaultHeader (
mixed $name
, string $value = NULL
)
These are standard HTTP headers that will be sent by all created HTTP_Request objects.
header name or array ('header name' => 'header value')
header value if $name is not an array
throws no exceptions thrown
This function can not be called statically.
| HTTP_Client::reset() | HTTP_Client::setMaxRedirects() |
| HTTP_Client | |
| PEAR Manual | |