openstack swift middleware开发
首先MiddleWare核心代码,这段代码卸载swift的源代码目录下,~/swift/swift/common/middleware下新建deletionpreventing.py:
import os
from swift.common.swob import Request, Response
class DeletionPreventingMiddleware(object):
...
原创
2016-10-12 23:46:00 ·
115 阅读 ·
0 评论