github.com/mboersma/deis@v1.13.4/tests/fixtures/mock-store/mock-s3-patch.diff (about)

     1  diff --git a/mock_s3/main.py b/mock_s3/main.py
     2  index bd0307f..29c431a 100755
     3  --- a/mock_s3/main.py
     4  +++ b/mock_s3/main.py
     5  @@ -65,6 +65,9 @@ class S3Handler(BaseHTTPRequestHandler):
     6       def do_HEAD(self):
     7           return self.do_GET()
     8   
     9  +    def do_POST(self):
    10  +        return self.do_GET()
    11  +
    12       def do_PUT(self):
    13           parsed_path = urlparse.urlparse(self.path)
    14           qs = urlparse.parse_qs(parsed_path.query, True)