fix: add missing content-disposition from CORS handler (#10137)

This commit is contained in:
Harshavardhana
2020-07-27 09:03:38 -07:00
committed by GitHub
parent 9108abf204
commit 47e304d03c
4 changed files with 55 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ func UnstartedTestServer(t TestErrHandler, instanceType string) TestServer {
}
// Run TestServer.
testServer.Server = httptest.NewUnstartedServer(httpHandler)
testServer.Server = httptest.NewUnstartedServer(criticalErrorHandler{corsHandler(httpHandler)})
globalObjLayerMutex.Lock()
globalObjectAPI = objLayer