tpyo / amazon-s3-php-class

A standalone Amazon S3 (REST) client for PHP 5/CURL
1.03k stars 503 forks source link

Allow headers to be set in getAuthenticatedURL #108

Open jessevondoom opened 9 years ago

jessevondoom commented 9 years ago

Changes the signature and allows custom headers in the getAuthenticatedURL function.

Example: $s3->getAuthenticatedURL($this->bucket, $path, $timeout, false, false, array('response-content-disposition' => 'attachment'));

Currently testing and working with "response-content-disposition", "response-cache-control", and "response-content-type" header requests.