public static EndNotModified ( this res, string description = null ) : void | ||
res | this | |
description | string | |
return | void |
public static void EndNotModified(this IResponse res, string description=null)
{
res.StatusCode = 304;
res.StatusDescription = description ?? HostContext.ResolveLocalizedString(LocalizedStrings.NotModified);
res.EndRequest();
}