Possible, yes. HTTPExplorer and a few other similar toolbars do this. There are several techniques: 1> Detours, a technique for remapping function calls at runtime, 2> Using a pluggable namespace handler 3> Using a proxy.
#1 is quite tricky and prone to breaking with each new version of IE. You can potentially use this to view SSL traffic.
#2 is a bit more straightforward, but it's still non-trivial. You can potentially use this to view SSL traffic.
#3 is relatively straightforward, but it is hard to use this technique to view HTTPS traffic.
There are many off-the-shelf packages which already do this, so you may want to consider if any of them do what you're looking for.
I'm always on the lookout for feature-suggestions for my HTTP Debugger, named Fiddler.
Hi, I am interested in doing something similar which is to
- list the images/css/js... files that are a part of a page
- list the time it took to download them
- list whether the item was served from the cache or not
- display the http headers associated with that response
...
Eric, you mentioned a few possiblities above. Regarding the namespace handler, could you share any pointers on it. I saw links for implementing a pluggable protocol handler but it seems that with the namespace handler I could listen to events on a protocol of interest (http).
Also could you elaborate on the option of using a proxy. Not sure what you mean by that. Thx.
-Suresh