0
Answer

content type of Http

Ask a question

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