Hello Rebol Group:
I'm attempting to output a binary image from a server (i.e., Linux) cgi script to a web browser using the below codes but I've been unsuccessful. I've scoured Rebol sources on and offline to no avail. Thanks in advance for your help. --Von For example: Rebol [] data: read/binary %/some/image.jpg print "Content-Type: image/jpg^/" ;; or "Content-Type: image/jpeg^/^/" ;; or "Content-Type: image/jpeg" write-io system/ports/output data length? Data ;; or print data ;; or print join "Location: " data ;; with or w/o print join "Expires: 0" newline -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
