From 13cdd435024b410c5fbd8814e15541e346fbcaee Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Sun, 17 Sep 2023 22:35:56 +0200 Subject: [PATCH] Rename download correlation ID header --- src/modules/Elsa.Http/Activities/WriteFileHttpResponse.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Elsa.Http/Activities/WriteFileHttpResponse.cs b/src/modules/Elsa.Http/Activities/WriteFileHttpResponse.cs index ab5ebe145..db2424a5c 100644 --- a/src/modules/Elsa.Http/Activities/WriteFileHttpResponse.cs +++ b/src/modules/Elsa.Http/Activities/WriteFileHttpResponse.cs @@ -59,7 +59,7 @@ public class WriteFileHttpResponse : Activity /// /// The correlation ID of the download. Used to resume a download. /// - [Input(Description = "The correlation ID of the download used to resume a download. If left empty, the x-elsa-download-id header will be used.")] + [Input(Description = "The correlation ID of the download used to resume a download. If left empty, the x-download-id header will be used.")] public Input DownloadCorrelationId { get; set; } = default!; /// @@ -206,7 +206,7 @@ public class WriteFileHttpResponse : Activity var downloadCorrelationId = DownloadCorrelationId.GetOrDefault(context); if (string.IsNullOrWhiteSpace(downloadCorrelationId)) - downloadCorrelationId = httpContext.Request.Headers["x-elsa-download-id"]; + downloadCorrelationId = httpContext.Request.Headers["x-download-id"]; if (string.IsNullOrWhiteSpace(downloadCorrelationId)) {