src/Net/HTTP/Download.php
static private function setMimeType()
	{
		$UserBrowser = '';
		if( preg_match( '@Opera(/| )([0-9].[0-9]{1,2})@', $_SERVER['HTTP_USER_AGENT'] ) )
			$UserBrowser = "Opera";
		elseif( preg_match( '@MSIE ([0-9].[0-9]{1,2})@', $_SERVER['HTTP_USER_AGENT'] ) )
			$UserBrowser = "IE";
		$mime_type = ( $UserBrowser == 'IE' || $UserBrowser == 'Opera' ) ? 'application/octetstream' : 'application/octet-stream';
		header( "Content-Type: ". $mime_type);
	}
static private function setMimeType()
	{
		$UserBrowser = '';
		if( preg_match( '@Opera(/| )([0-9].[0-9]{1,2})@', $_SERVER['HTTP_USER_AGENT'] ) )
			$UserBrowser = "Opera";
		elseif( preg_match( '@MSIE ([0-9].[0-9]{1,2})@', $_SERVER['HTTP_USER_AGENT'] ) )
			$UserBrowser = "IE";
		$mime_type = ( $UserBrowser == 'IE' || $UserBrowser == 'Opera' ) ? 'application/octetstream' : 'application/octet-stream';
		header( "Content-Type: ". $mime_type);
	}
static private function setMimeType ( ) { $ UserBrowser = '' ; if ( preg_match ( '@Opera(/| )([0-9].[0-9]{1,2})@' , $ _SERVER [ 'HTTP_USER_AGENT' ] ) ) $ UserBrowser = "Opera" ; elseif ( preg_match ( '@MSIE ([0-9].[0-9]{1,2})@' , $ _SERVER [ 'HTTP_USER_AGENT' ] ) ) $ UserBrowser = "IE" ; $ mime_type = ( $ UserBrowser == 'IE' || $ UserBrowser == 'Opera' ) ? 'application/octetstream' : 'application/octet-stream' ; header ( "Content-Type: " . $ mime_type ) ; }
Sends Mime Type Header.
@static
@access		private
@return		void
Sends Mime Type Header .