mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
ftp: Enable trailing headers, just like sftp (#20938)
This commit is contained in:
@@ -385,6 +385,7 @@ func (driver *ftpDriver) getMinIOClient(ctx *ftp.Context) (*minio.Client, error)
|
|||||||
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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user