I implemented a generic handler in my application which works great for images, but when I manually type the handler URL in the browser with the image\'s querystring it prom
If you store the ContentType as part of the files metadata, when you pull it back down your could use it.
ContentType
theFile = GetFile(id) context.Response.ContentType = theFile.Type;