add name_check to /info

Also removed a bunch of unnecessary unquotes. Just use path_info
instead (it's already unquoted).

Partial-Bug: #1670915

Change-Id: If1af43485b4708cab6c4b5d7f6f0a334d8752518
This commit is contained in:
John Dickinson
2017-03-07 15:06:13 -08:00
committed by Alistair Coles
parent 8b2f01a619
commit cd39778824
3 changed files with 40 additions and 7 deletions
api-ref/source
swift/common/middleware
test/unit/common/middleware

@@ -165,6 +165,11 @@ is a normal object and not a copy of the manifest. Instead it is a
concatenation of all the segment objects. This means that you
cannot copy objects larger than 5 GB.
Note that the provider may have limited the characters which are allowed
in an object name. Any name limits are exposed under the ``name_check`` key
in the ``/info`` discoverability response. Regardless of ``name_check``
limitations, names must be URL quoted UTF-8.
To create custom metadata, use the
``X-Object-Meta-name`` header, where ``name`` is the name of the metadata
item.