【文件属性】:
文件名称:srcHttpUrl头信息分析
文件大小:63KB
文件格式:RAR
更新时间:2013-12-27 09:59:21
Http Url header information parse
源码工程, 辅助工具,
vc6 + mfc + dlg + winxpsp3
HttpUrl头信息分析, 我自己主要是看charset和Content-Encodeing.
运行完的结果:
<>: csdn's blog information:
[HTTP_QUERY_CONTENT_TYPE]=[text/html; charset=utf-8]
[HTTP_QUERY_CONTENT_LENGTH]=[79384]
[HTTP_QUERY_DATE]=[Tue, 07 Dec 2010 08:09:48 GMT]
[HTTP_QUERY_LAST_MODIFIED]=[Tue, 07 Dec 2010 07:50:02 GMT]
[HTTP_QUERY_VERSION]=[HTTP/1.1]
[HTTP_QUERY_STATUS_CODE]=[200]
[HTTP_QUERY_STATUS_TEXT]=[OK]
[HTTP_QUERY_RAW_HEADERS]=[HTTP/1.1 200 OK]
[HTTP_QUERY_RAW_HEADERS_CRLF]=[HTTP/1.1 200 OK
Server: nginx/0.7.65
Date: Tue, 07 Dec 2010 08:09:48 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Vary: Accept-Encoding
Cache-Control: max-age=1800
Content-Length: 79384
Last-Modified: Tue, 07 Dec 2010 07:50:02 GMT
Accept-Ranges: bytes
ETag: "aa1ae65ae395cb1:90a"
X-Powered-By: ASP.NET
]
[HTTP_QUERY_CONNECTION]=[keep-alive]
[HTTP_QUERY_SERVER]=[nginx/0.7.65]
[HTTP_QUERY_ACCEPT_RANGES]=[bytes]
[HTTP_QUERY_REQUEST_METHOD]=[GET]
[HTTP_QUERY_CACHE_CONTROL]=[max-age=1800]
[HTTP_QUERY_ETAG]=["aa1ae65ae395cb1:90a"]
[HTTP_QUERY_VARY]=[Accept-Encoding]
<>: sohu's infomation
[HTTP_QUERY_CONTENT_TYPE]=[text/html]
[HTTP_QUERY_CONTENT_LENGTH]=[66924]
[HTTP_QUERY_DATE]=[Tue, 07 Dec 2010 08:09:24 GMT]
[HTTP_QUERY_EXPIRES]=[Tue, 07 Dec 2010 08:11:09 GMT]
[HTTP_QUERY_LAST_MODIFIED]=[Tue, 07 Dec 2010 08:04:10 GMT]
[HTTP_QUERY_VERSION]=[HTTP/1.1]
[HTTP_QUERY_STATUS_CODE]=[200]
[HTTP_QUERY_STATUS_TEXT]=[OK]
[HTTP_QUERY_RAW_HEADERS]=[HTTP/1.1 200 OK]
[HTTP_QUERY_RAW_HEADERS_CRLF]=[HTTP/1.1 200 OK
Content-Type: text/html
Connection: keep-alive
Date: Tue, 07 Dec 2010 08:09:24 GMT
Server: Apache
Vary: Accept-Encoding,X-Up-Calling-Line-id,X-Source-ID,X-Up-Bearer-Type
Cache-Control: max-age=105
Expires: Tue, 07 Dec 2010 08:11:09 GMT
Last-Modified: Tue, 07 Dec 2010 08:04:10 GMT
Content-Encoding: gzip
Content-Length: 66924
FSS-Cache: HIT from 10100643.18816941.10826792
]
[HTTP_QUERY_CONNECTION]=[keep-alive]
[HTTP_QUERY_CONTENT_ENCODING]=[gzip]
[HTTP_QUERY_SERVER]=[Apache]
[HTTP_QUERY_REQUEST_METHOD]=[GET]
[HTTP_QUERY_CACHE_CONTROL]=[max-age=105]
[HTTP_QUERY_VARY]=[Accept-Encoding,X-Up-Calling-Line-id,X-Source-ID,X-Up-Bearer-Type]
【文件预览】:
分析HttpUrl头信息
----src()
--------testcase()
--------mainprog()
--------readme.txt(52B)
----bin()
--------readme.txt(123B)
----inc()
--------readme.txt(10B)
----doc()
--------得到流加密方式.png(10KB)
--------readme.txt(28B)
--------得到字符集.png(12KB)
----reference()
--------original()
--------modification()
--------temporary()
--------readme.txt(114B)
----lib()
--------readme.txt(10B)
----runenv()
--------readme.txt(16B)
----common()
--------readme.txt(76B)
----tmp()
--------readme.txt(41B)
----readme.txt(367B)
----changeLog()
--------readme.txt(16B)