Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5f289e76
Commit
5f289e76
authored
Sep 06, 2004
by
Uwe Bonnes
Committed by
Alexandre Julliard
Sep 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for more standard headers.
parent
e5483391
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
http.c
dlls/wininet/http.c
+8
-0
No files found.
dlls/wininet/http.c
View file @
5f289e76
...
...
@@ -2174,6 +2174,10 @@ INT HTTP_GetStdHeaderIndex(LPCWSTR lpszField)
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 +2211,10 @@ INT HTTP_GetStdHeaderIndex(LPCWSTR lpszField)
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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment