have an ashx handler with the following code. The idea is to hide the path of the file and prompt a download
context.Response.AddHeader("Content-Disposition", "attachment; filename=" + fileName);
context.Response.ContentType = "application/octet-stream";
This works fine for some files however on others i get
Exception of type 'System.OutOfMemoryException' was thrown. Should wrap the whole thing in a using statement. What should it implement?