|
|
@ -112,7 +112,7 @@ func registerAPIRouter(router *mux.Router) { |
|
|
|
// CopyObjectPart
|
|
|
|
// CopyObjectPart
|
|
|
|
bucket.Methods(http.MethodPut).Path("/{object:.+}"). |
|
|
|
bucket.Methods(http.MethodPut).Path("/{object:.+}"). |
|
|
|
HeadersRegexp(xhttp.AmzCopySource, ".*?(\\/|%2F).*?"). |
|
|
|
HeadersRegexp(xhttp.AmzCopySource, ".*?(\\/|%2F).*?"). |
|
|
|
HandlerFunc(maxClients(collectAPIStats("copyobjectpart", httpTraceAll(api.CopyObjectPartHandler)))). |
|
|
|
HandlerFunc(collectAPIStats("copyobjectpart", maxClients(httpTraceAll(api.CopyObjectPartHandler)))). |
|
|
|
Queries("partNumber", "{partNumber:[0-9]+}", "uploadId", "{uploadId:.*}") |
|
|
|
Queries("partNumber", "{partNumber:[0-9]+}", "uploadId", "{uploadId:.*}") |
|
|
|
// PutObjectPart
|
|
|
|
// PutObjectPart
|
|
|
|
bucket.Methods(http.MethodPut).Path("/{object:.+}").HandlerFunc( |
|
|
|
bucket.Methods(http.MethodPut).Path("/{object:.+}").HandlerFunc( |
|
|
|