instead of a GET
request, you should try to use a HEAD
request.
Is it possible to only request the metadata?
-
22-09-2022 - |
Вопрос
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.
Решение
Не связан с StackOverflow