I am trying to write a proxy which reads an image from one server and returns it to the HttpContext supplied, but I am just getting character stream back.
I am tryin
I guess you would need to check the ContentType returned by your WebResponse request.
if (resp.ContentType.StartsWith("image/")) { // Do your stuff }