Updated HTTP_GetStdHeaderIndex

Johan Dahlin jdahlin at telia.com
Sat Dec 15 06:45:14 CST 2001


* dlls/wininet/http.c: Add a few extra fields to HTTP_GetStdHeaderIndex.




-------------- next part --------------
Index: http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/http.c,v
retrieving revision 1.21
diff -u -r1.21 http.c
--- http.c	2001/12/11 00:30:20	1.21
+++ http.c	2001/12/15 11:07:06
@@ -1043,6 +1043,14 @@
         index = HTTP_QUERY_EXPIRES;
     else if (!strcasecmp(lpszField,"Mime-Version"))
         index = HTTP_QUERY_MIME_VERSION;
+    else if (!strcasecmp(lpszField,"Pragma"))
+        index = HTTP_QUERY_PRAGMA;	
+    else if (!strcasecmp(lpszField,"Cache-Control"))
+	index = HTTP_QUERY_CACHE_CONTROL;		
+    else if (!strcasecmp(lpszField,"Content-Length"))
+        index = HTTP_QUERY_CONTENT_LENGTH;			
+    else if (!strcasecmp(lpszField,"User-Agent"))
+        index = HTTP_QUERY_USER_AGENT;				
     else
     {
        FIXME("Couldn't find %s in standard header table\n", lpszField);


More information about the wine-patches mailing list