private ReportMissingFile ( IRequestInfo info ) : void | ||
info | IRequestInfo | |
Результат | void |
private void ReportMissingFile(IRequestInfo info)
{
var localPath = GetLocalPathWithoutQuery(info);
if (!IgnoreFileIfMissing(localPath))
Logger.WriteEvent("**{0}: File Missing: {1}", GetType().Name, localPath);
info.WriteError(404);
}