void HTTP_Client::setDefaultHeader (
mixed $name
, string $value
= null
)
These are standard HTTP headers that will be sent by all created HTTP_Request objects.
$name
header name or array ('header name' => 'header value')
$value
header value if $name is not an array
throws no exceptions thrown
This function can not be called statically.