private static void ReplyWithFileContentAndType(IRequestInfo info, string path) { info.ContentType = GetContentType(Path.GetExtension(path)); info.ReplyWithFileContent(path); }