src/Net/CURL.php
public function getHeader( $key = NULL )
	{
		if( empty( $key ) )
			return $this->header;
		else
		{
			$key = strtoupper( $key );
			if( isset( $this->caseless[$key] ) )
				return $this->header[$this->caseless[$key]];
			else
				return NULL;
		}
	}
public function getHeader( $key = NULL )
	{
		if( empty( $key ) )
			return $this->header;
		else
		{
			$key = strtoupper( $key );
			if( isset( $this->caseless[$key] ) )
				return $this->header[$this->caseless[$key]];
			else
				return NULL;
		}
	}
public function getHeader ( $ key = NULL ) { if ( empty ( $ key ) ) return $ this -> header ; else { $ key = strtoupper ( $ key ) ; if ( isset ( $ this -> caseless [ $ key ] ) ) return $ this -> header [ $ this -> caseless [ $ key ] ] ; else return NULL ; } }
Returns the parsed HTTP header.
@access		public
@param		string		$key		Key name of Header Information
@return	 	mixed
Returns the parsed HTTP header .