Does anybody know how to get the Http header info using winInet.

In inet you would simply use
Inet1.GetHeader("")

I am trying to get the return status of the request e.g 200 for Ok or 404 if no page found etc. as I only need to interogate the buffer of the request is ok(200).