* Incremental work on persistent file cache * Rename providers to handlers * Implement zip file caching for resumable downloads * Implement partial download for zipped files * Allow executing workflows using GET verb * Implement custom header for correlating downloads * Rename FileName to Filename for consistency * Update interface XML comment * Cleanup * Fix that source Downloadables were executed even when cached zip exists * Make download correlation ID optional
19 lines
408 B
C#
19 lines
408 B
C#
using System.Net.Http.Headers;
|
|
|
|
namespace Elsa.Http.Options;
|
|
|
|
/// <summary>
|
|
/// Options for downloading a file.
|
|
/// </summary>
|
|
public class FileDownloadOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the entity tag.
|
|
/// </summary>
|
|
public EntityTagHeaderValue? ETag { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the range.
|
|
/// </summary>
|
|
public RangeHeaderValue? Range { get; set; }
|
|
} |