HTTP_Client::reset() (Previous) (Next) HTTP_Client::setMaxRedirects()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTTP_Client::setDefaultHeader()

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.

Paramètres

mixed $name

header name or array ('header name' => 'header value')

chaîne de caractères $value

header value if $name is not an array

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.

HTTP_Client::reset() (Previous) (Next) HTTP_Client::setMaxRedirects()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.