|
|
@@ -474,6 +474,7 @@ class Zend_Service_Amazon_S3 extends Zend_Service_Amazon_Abstract
|
|
|
$client = self::getHttpClient();
|
|
|
|
|
|
$client->resetParameters();
|
|
|
+ $client->setUri($endpoint);
|
|
|
$client->setAuth(false);
|
|
|
// Work around buglet in HTTP client - it doesn't clean headers
|
|
|
// Remove when ZHC is fixed
|
|
|
@@ -482,7 +483,6 @@ class Zend_Service_Amazon_S3 extends Zend_Service_Amazon_Abstract
|
|
|
'Range' => null,
|
|
|
'x-amz-acl' => null));
|
|
|
|
|
|
- $client->setUri($endpoint);
|
|
|
$client->setHeaders($headers);
|
|
|
|
|
|
if (is_array($params)) {
|