Skip to content

Octet stream

OCTET_STREAM

Content type OCTET_STREAM
g.res.contentType = T.EContentType.OCTET_STREAM;
  • It will download the image.
    base64
    g.res.contentType = <any>'image/gif';
    return `data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOwA=`