Nevermind, I just realized this is client-side, not server-side.
in reply to Re: How to display the response from a get request to a browser?
in thread How to display the response from a get request to a browser?
If your goal is just to display images from webservers, you might want to check out the feh tool. It kicks the butt of display. You can point it at a url and it will handle all of the download and display. It also has a param to automatically refresh/reload after x seconds. I use it to fullscreen a remote webcam on my setup at home and it's brilliant.