public function getMimeType($fullPath)
	{
		$dynamicPath = $this->getDynamicPath($fullPath, false);
		$meta = $this->metadata($dynamicPath);
		$mime_type = $meta['content-type'];

		// try to define mime type based on file extension if default "octet-stream" is obtained
		if((end(explode('/', $mime_type)) === 'octet-stream')) {
			$mime_type = mime_type_by_extension($this->get['path']);
		}
		return $mime_type;
	}
public function getMimeType($fullPath)
	{
		$dynamicPath = $this->getDynamicPath($fullPath, false);
		$meta = $this->metadata($dynamicPath);
		$mime_type = $meta['content-type'];

		// try to define mime type based on file extension if default "octet-stream" is obtained
		if((end(explode('/', $mime_type)) === 'octet-stream')) {
			$mime_type = mime_type_by_extension($this->get['path']);
		}
		return $mime_type;
	}
public function getMimeType ( $ fullPath ) { $ dynamicPath = $ this -> getDynamicPath ( $ fullPath , false ) ; $ meta = $ this -> metadata ( $ dynamicPath ) ; $ mime_type = $ meta [ 'content-type' ] ; // try to define mime type based on file extension if default "octet-stream" is obtained if ( ( end ( explode ( '/' , $ mime_type ) ) === 'octet-stream' ) ) { $ mime_type = mime_type_by_extension ( $ this -> get [ 'path' ] ) ; } return $ mime_type ; }
Retrieve mime type of S3 object
@param string $fullPath
@return string
Retrieve mime type of S3 object