Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoeduardo committed Sep 9, 2019
1 parent 36750a5 commit ab47e3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public FrontEndCompressionMiddleware(
Guard.ArgumentNotNullOrEmpty(options.FrontEndRootFolderAppRelativePaths, nameof(options.FrontEndRootFolderAppRelativePaths));
Guard.ArgumentNotNullOrEmpty(options.TargetFileExtensions, nameof(options.TargetFileExtensions));
Guard.ArgumentNotNullOrWhiteSpace(options.AcceptEncodingHeaderKey, nameof(options.AcceptEncodingHeaderKey));
Guard.ArgumentInRange(options.BufferSizeBytes, nameof(options.BufferSizeBytes), 1, 0);
Guard.ArgumentInRange(options.BufferSizeBytes, nameof(options.BufferSizeBytes), 1);

options.AcceptEncodingHeaderKey = options.AcceptEncodingHeaderKey.Trim().ToLowerInvariant();

Expand Down

0 comments on commit ab47e3c

Please sign in to comment.