mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
wininet: Handle HTTP 303 redirects.
This commit is contained in:
parent
905f628c05
commit
be2570f7a0
@ -874,7 +874,7 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hRequest,
|
||||
{
|
||||
DWORD dwCode,dwCodeLength=sizeof(DWORD);
|
||||
if(HTTP_HttpQueryInfoW(lpwhr,HTTP_QUERY_FLAG_NUMBER|HTTP_QUERY_STATUS_CODE,&dwCode,&dwCodeLength,NULL) &&
|
||||
(dwCode==302 || dwCode==301))
|
||||
(dwCode==302 || dwCode==301 || dwCode==303))
|
||||
{
|
||||
WCHAR szNewLocation[INTERNET_MAX_URL_LENGTH];
|
||||
dwBufferSize=sizeof(szNewLocation);
|
||||
|
Loading…
Reference in New Issue
Block a user