HttpRequest::getResponseHeader

Example

 public mixed HttpRequest::getResponseHeader ([ string $name ] ) 

Description

Get response header(s) after the request has been sent. If redirects were allowed and several responses were received, the data references the last received response.

Return Values

Returns either a string with the value of the header matching name if requested, FALSE on failure, or an associative array containing all response headers.