|
|
|
@ -238,6 +238,11 @@ func (h resourceHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
|
|
|
|
writeErrorResponse(w, r, NotImplemented, r.URL.Path) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
// X-Amz-Copy-Source should be ignored as NotImplemented.
|
|
|
|
|
if _, ok := r.Header[http.CanonicalHeaderKey("x-amz-copy-source")]; ok { |
|
|
|
|
writeErrorResponse(w, r, NotImplemented, r.URL.Path) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
h.handler.ServeHTTP(w, r) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -276,6 +281,7 @@ var notimplementedBucketResourceNames = map[string]bool{ |
|
|
|
|
"requestPayment": true, |
|
|
|
|
"versioning": true, |
|
|
|
|
"website": true, |
|
|
|
|
"delete": true, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// List of not implemented object queries
|
|
|
|
|