instead of a GET
request, you should try to use a HEAD
request.
Is it possible to only request the metadata?
-
22-09-2022 - |
Domanda
I'm developing a small application in C# to change the background image with images from the web.
Since I would like to avoid unused requests as much as possible, I would like to know if it's possible to request just the contenttype (and the image size) without actually downloading the image.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow