I have a webservice and in this particular case I have an image encoded in base64 that I would like to return as a string included in the http response body. I have tried to add the following headers:
Content-Type: image/gif
Content-Transfer-Encoding: base64
The browser doesn't interpreted the image correctly though.
Is it possible to return a base64 encoded image as a string in the body and have the browser interpret it as an image?