Module: wine Branch: master Commit: 67c38bd472a9f69bc5f10466eb388898d2b9fb04 URL: http://source.winehq.org/git/wine.git/?a=commit;h=67c38bd472a9f69bc5f10466eb...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jan 28 15:39:20 2009 +0100
wininet: Mark IE6 behaviour of HttpSendRequestW as broken.
---
dlls/wininet/tests/http.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
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);