Earlier quoted context omitted.
Increase the time a bit, it looks like sometimes it takes more time to download curl --max-time 2 https://youcantdownloadthisimage.online/lisa.jpg > lisa.jpg
Nevermind, looks like MobaXterm shell provides a non-standard curl implementation: $ which curl curl: aliased to _tob curl After installing curl with apt-get it works.
You can't download this image
41–50 of 241 posts
Re: You can't download this image
#42Re: You can't download this image
#43When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image. I'm not a web designer, but that seems rather ass-backwards. I'm already looking at the image, therefore the image is already residing either in my cache or in my RAM. Why it is downloaded a second time instead of just being copied onto my drive?
Your guess is as good as mine as to why.
Re: You can't download this image
#44When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image. I'm not a web designer, but that seems rather ass-backwards. I'm already looking at the image, therefore the image is already residing either in my cache or in my RAM. Why it is downloaded a second time instead of just being copied onto my drive?
I don't know about browser internals, but I would guess that the browser decodes the image once into a format that can be shown on the page (so from PNG/JPG/WEBP into a RGBA buffer) and then discards the original file. This saves a bit of memory in 99.99% of cases when the image is not immediately saved afterwards.
Re: You can't download this image
#45The problem with leaving connections open is that there's a limit on how many you can have on the server... I think the author has committed self-DoS :) https://en.wikipedia.org/wiki/Slowloris_(computer_security)
Re: You can't download this image
#46When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image. I'm not a web designer, but that seems rather ass-backwards. I'm already looking at the image, therefore the image is already residing either in my cache or in my RAM. Why it is downloaded a second time instead of just being copied onto my drive?
However, this is easily defeated by the use of the console: Select the sources tab, locate the image and simply drag-and-drop the image from there, which will use the local cache instance for the source. Works also with this site, at least with Safari.
Re: You can't download this image
#47Re: You can't download this image
#48Re: You can't download this image
#49Re: You can't download this image
#50It downloaded on Safari on iOS. Long press on the image and tap Add to photos.