CBitrixCloudBackupBucket::getHeaders: Bitrix method

      
<?php 
//  CBitrixCloudBackupBucket :: getHeaders()
//  /dist/bitrix/modules/bitrixcloud/classes/general/backup_bucket.php:64

    
function getHeaders()
    {
        
$service = new CCloudStorageService_AmazonS3;
        
$headers $service->SignRequest(
            
$this->arBucket["SETTINGS"],
            
"GET",
            
$this->arBucket["BUCKET"],
            
"/".$this->arBucket["PREFIX"]."/".$this->file_name,
            
'',
            array(
                
"x-amz-security-token" => $this->arBucket["SETTINGS"]["SESSION_TOKEN"],
            )
        );
        
$headers["x-amz-security-token"] = $this->arBucket["SETTINGS"]["SESSION_TOKEN"];
        return 
$headers;
    }