I am writing a small HTTP Sniffer which will monitor the HTTP Packets and check for "Content-Type" set in Response.
I could not find a way how to get Content-Type from response, otherwise I can sniff packets as well as I can track Payload sent in the response.
I am using WinPcap to do this.

Could you please show me a way how to extract "Content-Type" from response?

Thanks