Swift 创建 container web-error/web-index 两个metadata不生效

1. rgw的代码做了限制:

/* Static Web Site of Swift API. */
#define RGW_ATTR_WEB_INDEX      RGW_ATTR_META_PREFIX "web-index"
#define RGW_ATTR_WEB_ERROR      RGW_ATTR_META_PREFIX "web-error"
#define RGW_ATTR_WEB_LISTINGS   RGW_ATTR_META_PREFIX "web-listings"
#define RGW_ATTR_WEB_LIST_CSS   RGW_ATTR_META_PREFIX "web-listings-css"
#define RGW_ATTR_SUBDIR_MARKER  RGW_ATTR_META_PREFIX "web-directory-type"

2. 所以,不应该包含的字段有, 且区分大小写:

/* Static Web Site of Swift API. */
"web-index"
 "web-error"
 "web-listings"
"web-listings-css"
 "web-directory-type"

猜你喜欢

转载自blog.csdn.net/dengxiafubi/article/details/80769365