Re:Reddit launches image uploads, ditching alliance with Imgur
by miyuru on Thursday May 26, 2016 @02:19AM
(#11775955)
It's not a probability thing, it has to do with the http accept header you are sending.
When you click on a link the browser sends 'html' as http accept header. If you link the image using img src the browser sends 'image' as http accept header.
So if you send image with a small expire header, the server can redirect you to the site, if you click on a link.
When you click on a link the browser sends 'html' as http accept header. If you link the image using img src the browser sends 'image' as http accept header.
So if you send image with a small expire header, the server can redirect you to the site, if you click on a link.