Hello Graham,
I appreciate your response.  Unfortunately,
I attempted to apply your code with some modifications
but I was unsuccessful.  I WAS able to resolve
the issue so if anyone is interested for a future
project there will be a simple solution.  I did take
advantage of your switch suffix? Statement :-)

It should read as:
Rebol []
data: read/binary %/some/image.jpg 
print ["Content-Type: image/jpg" newline]  ;; or replace newline with "^M^J"
write-io system/ports/output data length? data

;; the below lines will not work
;; or print "Content-Type: image/jpeg^/^/"
;; or print "Content-Type: image/jpeg"
;; or print "Content-Type: image/jpeg^/"
;; or print ["Content-Type: image/jpeg" "^/^/"]

 


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to