Re: retrieve http header after navigate



"Sue" <jean.shu@xxxxxxxxx> wrote in message
news:d4a3f80e-c06a-4839-8450-a385fa8c8e57@xxxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to get the http header after I call navigate. The following
is from microsoft's msdn. It seems that I can use NavigateComplete2 to
serve this pupose. But when I looked at the stub of NavigateComplete2,
it's totally different from the BeforeNavigate2. It's like this
void NavigateComplete2( IDispatch *pDisp, VARIANT *URL );

Can anyone tell me how to to retrieve the http header from this
function? Or is it simple a microsoft doc error?

Doc error. You don't get response headers in NavigateComplete2 or any
other event handler. See also

http://groups.google.com/group/microsoft.public.inetsdk.programming.mshtml_hosting/msg/76bf4910a289d4b3

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.