I use: HttpQueryInfo(hRequest, HTTP_QUERY_RAW_HEADERS_CRLF, (LPVOID)&ContentInfoBuffer, &szContentInfoBuffer,NULL); to fetch the response header, it seems processed correctly. Then I use httpwatch to do a comparsion. When I test the same request using Httpwatch, I found "content-encoding:gzip" is not displayed in my programs, and only this one seems missing. Also, the content-length displayed in my program in different from that in Httpwatch. Is it somthing related to content encoding or decoding?