Skip to content

Commit 21e4b3e

Browse files
committed
Addressed feedback
1 parent 698c8f4 commit 21e4b3e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ internal async Task<bool> TryServeCachedResponseAsync(ResponseCachingContext con
198198
{
199199
context.HttpContext.Abort();
200200
}
201-
}
202-
_logger.CachedResponseServed();
201+
}
202+
_logger.CachedResponseServed();
203203
}
204204
return true;
205205
}

src/Middleware/ResponseCaching/test/CachedResponseBodyTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System.Buffers;
25
using System.Collections.Generic;
36
using System.Diagnostics;

0 commit comments

Comments
 (0)