diff --git a/swift/common/middleware/staticweb.py b/swift/common/middleware/staticweb.py index 4c0b88ce7e..e7552e4f54 100644 --- a/swift/common/middleware/staticweb.py +++ b/swift/common/middleware/staticweb.py @@ -1,4 +1,4 @@ -# Copyright (c) 2010-2012 OpenStack Foundation +# Copyright (c) 2010-2016 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -68,6 +68,12 @@ the .../listing.css style sheet. If you "view source" in your browser on a listing page, you will see the well defined document structure that can be styled. +By default, the listings will be rendered with a label of +"Listing of /v1/account/container/path". This can be altered by +setting a ``X-Container-Meta-Web-Listings-Label: