[Bug 43216] New: winhttp doesn' t support the WINHTTP_OPTION_REDIRECT_POLICY option.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 20 06:29:02 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43216

            Bug ID: 43216
           Summary: winhttp doesn't support the
                    WINHTTP_OPTION_REDIRECT_POLICY option.
           Product: Wine
           Version: 2.10
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: winhttp
          Assignee: wine-bugs at winehq.org
          Reporter: leslie_alistair at hotmail.com
      Distribution: ---

Here is the basic code.
WinHttpOpen(....)
DWORD options = WINHTTP_OPTION_REDIRECT_POLICY_ALWAYS;
WinHttpSetOption(session, WINHTTP_OPTION_REDIRECT_POLICY, &options,
sizeof(options));
WinHttpConnect(session, L"website", 80, 0 );

WinHttpOpenRequest(connect, L"GET", L"/project", ...)
WinHttpSendRequest(.....)

When the WinHttpSendRequest receives a status HTTP_STATUS_MOVED, the requested
page isn't automatically loaded from the "Location" header field.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list