http://bugs.winehq.org/show_bug.cgi?id=27893
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2011-08-10 16:12:59 CDT --- (In reply to comment #4)
(In reply to comment #3) ...
MSXML2.SERVERXMLHTTP uses Winhttp according to MS. Maybe just register this class and make it use Winhttprequest?
Do you have a reference?
That's specified there http://msdn.microsoft.com/en-us/library/ms762278%28v=vs.85%29.aspx. Well they don't say that it's done so straightforward, but something about transition from wininet is said.
It can't be forwarded so easily I think, WinHttpRequest needs to support events at least - to update internal ServerXmlHttp state (available through HttpRequest methods).
Another thing is that ServerXmlHttp potentially needs integration with mshtml to support relative urls - msxml3/tests contain such integration tests.
I don't know specifics but using urlmon to load data for XmlHttpRequest was done on purpose, to support urlmon sessions (I just remember it sounds like that, hopefully Jacek knows details). And I'm not sure how security things will work in our case in we just forward this to winhttp, urlmon has a load of registry configurations and supporting interfaces for that.