http://bugs.winehq.org/show_bug.cgi?id=14183
Summary: HttpSendRequest() should fetch connection parameters instead of HttpOpenRequest(), especially Cookies. Product: Wine Version: 1.0-rc2 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: yann@droneaud.fr
Created an attachment (id=14452) --> (http://bugs.winehq.org/attachment.cgi?id=14452) Debug Logs for relay,+wininet (filtered):
I have an application used to download a game from an online store which set a cookie using InternetSetCookie() between calls to HttpOpenRequest() and HttpSendRequest(), but this cookie is not sent on the wire, as the application except it.
This application works well under MS Windows and under Wine with MS Internet Explorer 6 installed, but using the wine wininet implementation, the cookie is not sent.
The exact behavior of wininet functions is not documented on MSDN, but it seems that parameters (proxy, auth-data, cookies) have to be fetched only when calling HttpSendRequest(), especially Cookies, not when calling HttpOpenRequest().
See attached traces.