Updated HTTP_GetStdHeaderIndex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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




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);

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux