move HTTP recorder to an internal library (#16128)

This commit is contained in:
Anis Elleuch authored and GitHub committed 2022-11-28 10:20:27 -08:00
1 parent 98a67a3776
commit 1f1dcdce65
8 files changed
+215 -165

No files matched your search

+1 -1
View File
@@ -3542,7 +3542,7 @@ func (api objectAPIHandlers) PostRestoreObjectHandler(w http.ResponseWriter, r *
return
}
nr := httptest.NewRecorder()
rw := logger.NewResponseWriter(nr)
rw := xhttp.NewResponseRecorder(nr)
rw.LogErrBody = true
rw.LogAllBody = true
rreq.SelectParameters.Evaluate(rw)