Commit 664b9bbb authored by Johan Dahlin's avatar Johan Dahlin Committed by Alexandre Julliard

Add a few extra fields to HTTP_GetStdHeaderIndex.

parent 70b7619a
......@@ -1043,6 +1043,14 @@ INT HTTP_GetStdHeaderIndex(LPCSTR lpszField)
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);
......
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