HTTP_Client::setDefaultHeader() -- Sets default header(s) for HTTP requests
Description
These are standard HTTP headers that will be sent by all created HTTP_Request objects.
Parameter
- mixed
$name
header name or array ('header name' => 'header
value')
- string
$value
header value if $name is not an array
Throws
throws no exceptions thrown
Note
This function can not be called
statically.