function HTTP_Request::addHeader in Flickr API 5
Adds a request header
@access public
Parameters
string Header name:
string Header value:
8 calls to HTTP_Request::addHeader()
- HTTP_Request::addCookie in phpFlickr/
PEAR/ HTTP/ Request.php - Appends a cookie to "Cookie:" header
- HTTP_Request::addFile in phpFlickr/
PEAR/ HTTP/ Request.php - Adds a file to upload
- HTTP_Request::HTTP_Request in phpFlickr/
PEAR/ HTTP/ Request.php - Constructor
- HTTP_Request::sendRequest in phpFlickr/
PEAR/ HTTP/ Request.php - Sends the request
- HTTP_Request::setBasicAuth in phpFlickr/
PEAR/ HTTP/ Request.php - Sets basic authentication parameters
File
- phpFlickr/
PEAR/ HTTP/ Request.php, line 492
Class
- HTTP_Request
- Class for performing HTTP requests
Code
function addHeader($name, $value) {
$this->_requestHeaders[strtolower($name)] = $value;
}