1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Extract "Content-Type" from HTTP response

Discussion in 'C' started by inilkar, Apr 28, 2008.

  1. inilkar

    inilkar New Member

    Apr 28, 2008
    Likes Received:
    Trophy Points:
    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?


Share This Page