kuza55 / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

How to get raw HTTP headers? #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I want to get the raw HTTP headers. Is possible?
I wang to get the raw file information(file size, content type, start
download time, end download time, etc...), such as image or flash size, no
download. Is possible?

Sorry, My English is poor.

I want to make a webpage details tool, like firebug in firefox.

Kind Regards
Max Wang

Original issue reported on code.google.com by JerryAnd...@gmail.com on 4 Jun 2008 at 3:41

GoogleCodeExporter commented 8 years ago
Hi,

Use ProtocolHandlerOnBeginTransaction event to get the request headers.
Use ProtocolHandlerOnResponse event to get the response headers.
Again use the mentioned events to extract file size, content type, ...

Please keep in mind that this section (Issues) is to report bugs and problems. 
To 
ask general questions, please use the forum 
http://groups.google.com/group/csexwb.

Regards,

MH

Original comment by mehr...@gmail.com on 4 Jun 2008 at 8:20