Add a few extra fields to HTTP_GetStdHeaderIndex.

This commit is contained in:
Johan Dahlin 2001-12-17 20:50:53 +00:00 committed by Alexandre Julliard
parent 70b7619ad6
commit 664b9bbb67
1 changed files with 8 additions and 0 deletions

View File

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