Chris
2003-11-26 01:45:55 UTC
Hi,
I've written a temporary Namespace handler for the HTTP protocol. It
works essentially as a filter; when it gets called at various points in
the HTTP request/response processing flow, it looks at the
request/response and then typically just passes it along to the default
HTTP protocol handler for the real processing.
Everything seems to be working fine except when the site I browse
returns a REFRESH header - IE ignores the header and stops the
navigation instead of redirecting to the location specified by the
REFRESH header like it normally does when using the default HTTP
protocol handler directly.
For example, if the page http://localhost/testpage.html returns header
like below (from IHttpNegotiate::OnResponse):
HTTP/1.1 200 OK
Date: Tue, 25 Nov 2003 18:59:56 GMT
Cache-control: no-cache
P3P: CP="PHY ONL PRE STA CURi OUR IND"
REFRESH: 0;URL=http://www.yahoo.com
Content-length: 270
Content-type: text/html
The browser does not redirect to the page http://www.yahoo.com, as it
does when no temporary namespace handler is registered - it stops at
the page http://localhost/testpage.html.
Any ideas why this might be the case / what else our handler needs to be
doing to make this work?
thx,
Chris
I've written a temporary Namespace handler for the HTTP protocol. It
works essentially as a filter; when it gets called at various points in
the HTTP request/response processing flow, it looks at the
request/response and then typically just passes it along to the default
HTTP protocol handler for the real processing.
Everything seems to be working fine except when the site I browse
returns a REFRESH header - IE ignores the header and stops the
navigation instead of redirecting to the location specified by the
REFRESH header like it normally does when using the default HTTP
protocol handler directly.
For example, if the page http://localhost/testpage.html returns header
like below (from IHttpNegotiate::OnResponse):
HTTP/1.1 200 OK
Date: Tue, 25 Nov 2003 18:59:56 GMT
Cache-control: no-cache
P3P: CP="PHY ONL PRE STA CURi OUR IND"
REFRESH: 0;URL=http://www.yahoo.com
Content-length: 270
Content-type: text/html
The browser does not redirect to the page http://www.yahoo.com, as it
does when no temporary namespace handler is registered - it stops at
the page http://localhost/testpage.html.
Any ideas why this might be the case / what else our handler needs to be
doing to make this work?
thx,
Chris