~mirtchovski/goamz/ec2

Viewing all changes in revision 5.

  • Committer: Gustavo Niemeyer
  • Date: 2012-05-22 14:25:40 UTC
  • mfrom: (4.1.2 dreamhost-support)
  • Revision ID: gustavo@niemeyer.net-20120522142540-zoacg8hi10ta7jfq
s3: add support for dreamhost and bucket names in the domain

S3 supports two ways to address bucket names: via a common
domain name plus a path, and via a domain named after the
user bucket. This adds support to the latter convention.

It also includes support for talking to DreamHost's S3-like
endpoint, and fixes a bug in the tests.

R=rog
CC=
https://codereview.appspot.com/6211070

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: