mirror of
https://github.com/minio/minio.git
synced 2025-03-06 08:40:08 -05:00
ftp: Enable trailing headers, just like sftp (#20938)
This commit is contained in:
parent
b8544266e5
commit
60446e7ac0
@ -382,9 +382,10 @@ func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return minio.New(driver.endpoint, &minio.Options{
|
return minio.New(driver.endpoint, &minio.Options{
|
||||||
Creds: credentials.NewStaticV4(ui.Credentials.AccessKey, ui.Credentials.SecretKey, ""),
|
Creds: credentials.NewStaticV4(ui.Credentials.AccessKey, ui.Credentials.SecretKey, ""),
|
||||||
Secure: globalIsTLS,
|
Secure: globalIsTLS,
|
||||||
Transport: tr,
|
Transport: tr,
|
||||||
|
TrailingHeaders: true,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user