classes/phing/tasks/ext/Service/Amazon/S3/S3PutTask.php
protected function getHttpHeaders()
    {
        $headers = [];
        if (null !== $this->_maxage) {
            $headers['Cache-Control'] = 'max-age=' . $this->_maxage;
        }
        if ($this->_gzipped) {
            $headers['Content-Encoding'] = 'gzip';
        }

        return $headers;
    }
protected function getHttpHeaders()
    {
        $headers = [];
        if (null !== $this->_maxage) {
            $headers['Cache-Control'] = 'max-age=' . $this->_maxage;
        }
        if ($this->_gzipped) {
            $headers['Content-Encoding'] = 'gzip';
        }

        return $headers;
    }
protected function getHttpHeaders ( ) { $ headers = [ ] ; if ( null !== $ this -> _maxage ) { $ headers [ 'Cache-Control' ] = 'max-age=' . $ this -> _maxage ; } if ( $ this -> _gzipped ) { $ headers [ 'Content-Encoding' ] = 'gzip' ; } return $ headers ; }
Generate HTTPHEader array sent to S3.

@return array HttpHeader to set in S3 Object.
Generate HTTPHEader array sent to S3 .