0
Answer

content type of Http

George George

George George

16y
2k
1

Hello everyone,


Before retrieving a page from Http, it is possible to know what are the content type it will return? e.g. image, html, text?

My initiative is to know the content type before retrieving the content, since if the page contains image, video or audio, I will not retrieve the content to save space and reduce risk.

Any ways to know content type returned without actually retrieve the page?


thanks in advance,
George