Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 17 Feb 2006 22:24:22 +0000,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us