wininet-encoding: Fix whitespace issue.

This commit is contained in:
Sebastian Lackner 2014-12-27 14:35:38 +01:00
parent 05fd4e7f64
commit 1f74cc531e

View File

@ -1,4 +1,4 @@
From 183a3343682b8c76613bf3801ae5e4f384102552 Mon Sep 17 00:00:00 2001
From 9944fecef8ce9c9bfeab1870b009022a24f9dc1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Mon, 8 Dec 2014 02:51:30 +0100
Subject: wininet: Allow Accept-Encoding for HTTP/1.0 requests.
@ -56,7 +56,7 @@ index 532b65a..ee89061 100644
*
* Undocumented
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index 92a6b8d..1582ac9 100644
index 92a6b8d..3e66a27 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -2314,7 +2314,13 @@ static DWORD CALLBACK server_thread(LPVOID param)
@ -105,7 +105,7 @@ index 92a6b8d..1582ac9 100644
+ req = HttpOpenRequestA(con, "GET", "/test_accept_encoding_http10", "HTTP/1.0", NULL, NULL, 0, 0);
+ ok(req != NULL, "HttpOpenRequest failed\n");
+
+ ret = HttpSendRequestA(req, "Accept-Encoding: gzip", ~0u, NULL, 0);
+ ret = HttpSendRequestA(req, "Accept-Encoding: gzip", ~0u, NULL, 0);
+ ok(ret, "HttpSendRequestA failed\n");
+
+ test_status_code(req, 200);