RegisterNameSpace and HTTP headers
Hi all,
I have registered own name space via
hr = ppInternetSession->RegisterNameSpace(&cf, CLSID_NULL,
L"http", 0, NULL, 0);
My application has an implementation of IInternetProtocol and all it
does - it reads a file from disk and passes it via
IInternetProtocol::Read to the webbrowser control.
However I want to pass my own HTTP headers along with the file, but if I
pass them - webbrowser treats the file as text, that is, it does some
type of media type guessing and doesn't expect HTTP headers at all. But
I register a replacement for the HTTP protocol and headers should be a
part of it.
What do I need to be able to pass HTTP headers to webbrowser control
that way?
Ivan.
date: Fri, 17 Feb 2006 22:24:22 +0000
author: Ivan Glinka