Changeset 40428 in project


Ignore:
Timestamp:
09/07/21 13:02:18 (3 weeks ago)
Author:
sjamaan
Message:

Document make-base-uri

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/amazon-s3

    r39572 r40428  
    4242
    4343If set to {{#t}} Amazon S3 will be accessed via https. Defaults to {{#f}}.
     44Deprecated in favor of {{make-base-uri}}.
     45
     46=== {{make-base-uri}}
     47
     48A procedure of one argument which accepts a bucket name (either a string or {{#f}} if this is a request for managing buckets) and constructs the base URI (a [[uri-common]] object) for accessing the bucket.
     49
     50The default method checks for {{https}} and constructs {{<bucket-name>.s3.amazonaws.com}} if given a bucket, or {{s3.amazonaws.com}} if there is no bucket.
     51
     52Overriding this allows you to use this egg with an S3-compatible storage that's not Amazon's original one (like for example a local [[https://www.ceph.com/|Ceph]] instance).
    4453
    4554=== List of Procedures
Note: See TracChangeset for help on using the changeset viewer.