Chech for more standard headers
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 6 03:16:27 CDT 2004
Changelog:
dlls/wininet/http.c :HTTP_GetStdHeaderIndex
Check for some more standard headers
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/wininet/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/http.c,v
retrieving revision 1.78
diff -u -r1.78 http.c
--- wine/dlls/wininet/http.c 3 Sep 2004 18:30:28 -0000 1.78
+++ wine/dlls/wininet/http.c 5 Sep 2004 20:15:39 -0000
@@ -2174,6 +2184,10 @@
INT index = -1;
static const WCHAR szContentLength[] = {
'C','o','n','t','e','n','t','-','L','e','n','g','t','h',0};
+ static const WCHAR szQueryRange[] = {
+ 'R','a','n','g','e',0};
+ static const WCHAR szContentRange[] = {
+ 'C','o','n','t','e','n','t','-','R','a','n','g','e',0};
static const WCHAR szContentType[] = {
'C','o','n','t','e','n','t','-','T','y','p','e',0};
static const WCHAR szLastModified[] = {
@@ -2207,6 +2221,10 @@
if (!strcmpiW(lpszField, szContentLength))
index = HTTP_QUERY_CONTENT_LENGTH;
+ else if (!strcmpiW(lpszField,szQueryRange))
+ index = HTTP_QUERY_RANGE;
+ else if (!strcmpiW(lpszField,szContentRange))
+ index = HTTP_QUERY_CONTENT_RANGE;
else if (!strcmpiW(lpszField,szContentType))
index = HTTP_QUERY_CONTENT_TYPE;
else if (!strcmpiW(lpszField,szLastModified))
More information about the wine-patches
mailing list