HTTP_Client::setDefaultHeader() -- Sets default header(s) for HTTP requests
Описание
These are standard HTTP headers that will be sent by all created HTTP_Request objects.
Параметр
- 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
Заметка
Эта функция не должна вызываться статически.