public void ReplyWithImage(string path) { var pos = path.LastIndexOf('.'); if(pos > 0) _actualContext.Response.ContentType = ServerBase.GetContentType(path.Substring(pos)); ReplyWithFileContent(path); }