You are here

function HTTP_Request::removeHeader in Flickr API 5

Removes a request header

@access public

Parameters

string Header name to remove:

3 calls to HTTP_Request::removeHeader()
HTTP_Request::clearCookies in phpFlickr/PEAR/HTTP/Request.php
Clears any cookies that have been added (DEPRECATED).
HTTP_Request::sendRequest in phpFlickr/PEAR/HTTP/Request.php
Sends the request
HTTP_Request::_buildRequest in phpFlickr/PEAR/HTTP/Request.php
Builds the request string

File

phpFlickr/PEAR/HTTP/Request.php, line 503

Class

HTTP_Request
Class for performing HTTP requests

Code

function removeHeader($name) {
  if (isset($this->_requestHeaders[strtolower($name)])) {
    unset($this->_requestHeaders[strtolower($name)]);
  }
}