Would anyone be able to give me a quick pointer as to how I can get an OpenRasta handler that returns a byte array. To be exposed in the ResourceSpace without it being a JSON or XML object. i.e. I don't want it transcoded, I just want to be able to set the media type to "image/PNG" or similar.
Using ASP.Net MVC I can do it using a FileContentResult by returning
File(myByteArray, "image/PNG");
I just need to know the OpenRasta equivalent.
Thanks