Commit 80893bcf authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Skip headers problematic for cache.

parent d9a0c55e
......@@ -386,7 +386,6 @@ static void pump_msgs(BOOL *b)
struct HEADER_TYPE {
const char *key;
const char *value;
BOOL skip_all_headers;
};
static void create_xmlhttprequest(IHTMLDocument2 *doc)
......@@ -451,9 +450,6 @@ static void test_header(const struct HEADER_TYPE expect[], int num)
SysFreeString(key);
SysFreeString(text);
if(expect[i].skip_all_headers)
continue;
strcpy(buf, expect[i].key);
strcat(buf, ": ");
strcat(buf, expect[i].value);
......@@ -585,7 +581,6 @@ static void test_sync_xhr(IHTMLDocument2 *doc, const char *xml_url, const char *
LONG val;
HRESULT hres;
static const struct HEADER_TYPE expect_headers[] = {
{"Accept-Ranges", "bytes", TRUE},
{"Content-Length", "51"},
{"Content-Type", "application/xml"}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment