Skip to content

Commit 493b619

Browse files
Add method SendNotModified
1 parent 0f43431 commit 493b619

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRestServices.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,11 @@ protected bool ProcessHeaders(string queryId)
342342
return true;
343343
}
344344

345-
346345

346+
protected StatusCodeResult SendNotModified()
347+
{
348+
return StatusCode((int)HttpStatusCode.NotModified);
349+
}
347350
private void SendCacheHeaders()
348351
{
349352
if (string.IsNullOrEmpty(context.GetHeader(HttpHeader.CACHE_CONTROL)))

0 commit comments

Comments
 (0)