Got at least one data fetching method working; turns out, we can't use a patched LogicStack to get the data
This commit is contained in:
8
Vendor/EmbedIO-3.5.2/Files/Internal/MappedResourceInfoExtensions.cs
vendored
Normal file
8
Vendor/EmbedIO-3.5.2/Files/Internal/MappedResourceInfoExtensions.cs
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace EmbedIO.Files.Internal
|
||||
{
|
||||
internal static class MappedResourceInfoExtensions
|
||||
{
|
||||
public static string GetEntityTag(this MappedResourceInfo @this, CompressionMethod compressionMethod)
|
||||
=> EntityTag.Compute(@this.LastModifiedUtc, @this.Length, compressionMethod);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user