Storage: S3Storage: added secure key header skip

This commit is contained in:
Maksim Chegulov 2023-04-27 19:30:26 +03:00
parent f670fe536b
commit aaec6da704

View File

@ -111,6 +111,11 @@ public class S3Storage : BaseStorage
foreach (var h in headers)
{
if (h.StartsWith(Constants.SecureKeyHeader))
{
continue;
}
if (h.StartsWith("Content-Disposition"))
{
headersOverrides.ContentDisposition = (h.Substring("Content-Disposition".Length + 1));