Is the image being served up from the same server that the page is being
displayed from?
Yes, it is. The image comes from the IFS. Here is the code -
c eval buffer_add = 'Content-Type: image/tiff'
c +'Content-Type: image/tiff'
c +new_line
c +new_line
c eval buffer = buffer + buffer_add
c dou Read(fd_in: %addr(char): 1) < 1
c 69 eval buffer_add = char
c n69 eval buffer_add = %trimr(char)
c n69 eval *in69=*on
c if %len(buffer_add + buffer) > buffer_max
c exsr QTMH_STD_OUT
c eval buffer = buffer_add
c else
c eval buffer = buffer + buffer_add
c endif
c enddo
I Googled some more and found a reference that said to use
"Accept-ranges:bytes" in the header. I tried that and the result is the
same.
Thanks,
Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.