ZF-6728: Zend_Service_Amazon_S3::createBucket(): Allow to specify location
Description
Currently you can not specify the location constraint of new buckets through Zend_Service_Amazon_S3::createBucket().
See http://docs.amazonwebservices.com/AmazonS3/latest/… for more information.
Comments
Posted by Kristof Coomans (cyberwolf) on 2009-06-02T01:38:59.000+0000
Quick patch.
Posted by David Caunt (dcaunt) on 2009-06-02T02:28:35.000+0000
I took a look at Kristof's patch - I would suggest a location parameter rather than an isEU paramater, as Amazon S3 may add further locations in the future.
Posted by Matthew Weier O'Phinney (matthew) on 2009-06-02T03:57:36.000+0000
Assigning to Stas.
Posted by Kristof Coomans (cyberwolf) on 2009-06-02T04:13:52.000+0000
I agree with David.
Posted by Stanislav Malyshev (stas) on 2009-06-07T16:58:41.000+0000
fixed now, thanks
Posted by Enrico Zimuel (zimuel) on 2011-05-27T12:48:14.000+0000
The issue is not resolved, I tried with 'EU' location. Seems that the createBucket() doesn't not prepare the PUT request in a correct way. The Content-type is binary instead of text and the Content-size is missing (according with the Amazon S3 API syntax).
Posted by Enrico Zimuel (zimuel) on 2011-05-27T15:24:34.000+0000
Fixed on trunk (commit 24049).
Posted by Enrico Zimuel (zimuel) on 2011-05-27T15:27:36.000+0000
Resolved in branches/release-1.11 (commit 24050)