George George

George George

  • NA
  • 778
  • 0

content type of Http

Aug 7 2008 12:54 AM

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