Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a9c2cfa8
Commit
a9c2cfa8
authored
Jan 07, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fix the handling of Accept types passed into HttpOpenRequest
by properly coalescing all the types into the Accept header value, rather than just adding the first.
parent
7e8ef764
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
http.c
dlls/wininet/http.c
+2
-1
No files found.
dlls/wininet/http.c
View file @
a9c2cfa8
...
...
@@ -1113,7 +1113,8 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
{
int
i
;
for
(
i
=
0
;
lpszAcceptTypes
[
i
]
!=
NULL
;
i
++
)
HTTP_ProcessHeader
(
lpwhr
,
HTTP_ACCEPT
,
lpszAcceptTypes
[
i
],
HTTP_ADDHDR_FLAG_COALESCE_WITH_COMMA
|
HTTP_ADDHDR_FLAG_REQ
|
HTTP_ADDHDR_FLAG_ADD_IF_NEW
);
HTTP_ProcessHeader
(
lpwhr
,
HTTP_ACCEPT
,
lpszAcceptTypes
[
i
],
HTTP_ADDHDR_FLAG_COALESCE_WITH_COMMA
|
HTTP_ADDHDR_FLAG_REQ
|
(
i
==
0
?
HTTP_ADDHDR_FLAG_REPLACE
:
0
));
}
if
(
NULL
==
lpszVerb
)
...
...
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