urlmon: Implement HttpProtocol.

Misha Koshelev mk144210 at bcm.edu
Tue Jul 10 10:52:03 CDT 2007

Ok here is my implementation. Conforms to Jacek's tests already in git plus:
* Error codes on wininet function failure same as native (I changed the functions to return
  FALSE/NULL as approriate and checked what happens)
* Order of calls to wininet functions and helper OLE class functions (i.e., BeginningTransaction)
  match native. Reporting of results from OLE class functions also match native. Whether or not
  we fail if certain functions fail also matches native, and all default values (headers, content-type)
  also match native.

Next step will be to make patches for the todos (redirects, non-GET requests). Securityid is currently
not implemented, not exactly sure how to and I don't think this currently works with native urlmon running
on our wininet anyhow.
 dlls/urlmon/http.c           |  560 +++++++++++++++++++++++++++++++++++++++++-
 dlls/urlmon/tests/protocol.c |    4 +-
 2 files changed, 548 insertions(+), 16 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 440b363f8babbe08253bd205ccafaed82e1a85d6.diff
Type: text/x-patch
Size: 23599 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070710/66b53045/440b363f8babbe08253bd205ccafaed82e1a85d6-0001.bin

More information about the wine-patches mailing list