wininet: Mark IE6 behaviour of HttpSendRequestW as broken.

Hans Leidekker hans at codeweavers.com
Wed Jan 28 08:39:20 CST 2009


diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index c5321b4..5fd45d5 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -1834,7 +1834,8 @@ static void test_HttpSendRequestW(int port)
     ret = HttpSendRequestW(req, header, ~0u, NULL, 0);
     error = GetLastError();
     ok(!ret, "HttpSendRequestW succeeded\n");
-    ok(error == ERROR_IO_PENDING, "got %u expected ERROR_IO_PENDING\n", error);
+    ok(error == ERROR_IO_PENDING || broken(error == ERROR_HTTP_HEADER_NOT_FOUND), /* IE6 */
+       "got %u expected ERROR_IO_PENDING\n", error);
 
     InternetCloseHandle(req);
     InternetCloseHandle(con);



More information about the wine-patches mailing list