src/Signature/SignatureV4.php
private function getPresignHeaders(array $headers)
    {
        $presignHeaders = [];
        $blacklist = $this->getHeaderBlacklist();
        foreach ($headers as $name => $value) {
            $lName = strtolower($name);
            if (!isset($blacklist[$lName])
                && $name !== self::AMZ_CONTENT_SHA256_HEADER
            ) {
                $presignHeaders[] = $lName;
            }
        }
        return $presignHeaders;
    }
private function getPresignHeaders(array $headers)
    {
        $presignHeaders = [];
        $blacklist = $this->getHeaderBlacklist();
        foreach ($headers as $name => $value) {
            $lName = strtolower($name);
            if (!isset($blacklist[$lName])
                && $name !== self::AMZ_CONTENT_SHA256_HEADER
            ) {
                $presignHeaders[] = $lName;
            }
        }
        return $presignHeaders;
    }
private function getPresignHeaders ( array $ headers ) { $ presignHeaders = [ ] ; $ blacklist = $ this -> getHeaderBlacklist ( ) ; foreach ( $ headers as $ name => $ value ) { $ lName = strtolower ( $ name ) ; if ( ! isset ( $ blacklist [ $ lName ] ) && $ name !== self :: AMZ_CONTENT_SHA256_HEADER ) { $ presignHeaders [ ] = $ lName ; } } return $ presignHeaders ; }
Get the headers that were used to pre-sign the request.
Used for the X-Amz-SignedHeaders header.

@param array $headers
@return array
Get the headers that were used to pre - sign the request . Used for the X - Amz - SignedHeaders header .