openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06952
Re: Swift Container Name Restrictions
On Jan 24, 2012, at 5:22 PM, Matthew Wodrich wrote:
> Hi Folks,
>
> I'm trying to write some scripts to work with Swift containers, but I don't actually know what the restrictions on container names are. Does anyone know what the specification is, or where I can read up on it?
>
> For example:
> What are the length requirements for container names? (Maximum/Minimum numbers of characters?)
min is one character, max is 256
> Starting character requirements?
none
> Allowable character sets?
utf8
> Disallowed characters?
non-utf8
> Disallowed patterns? (things like .., .-, -., --, ip address-like things, etc.)
none
> Anything else?
the container name can't contain a "/" since that would be the delimiter between the container and object name (eg /account/container/object)
--John
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups
References