Module: wine Branch: master Commit: be2570f7a061086baf4b68038337f79c1d5ebe45 URL: http://source.winehq.org/git/wine.git/?a=commit;h=be2570f7a061086baf4b680383...
Author: Lei Zhang thestig@google.com Date: Tue Nov 4 16:44:30 2008 -0800
wininet: Handle HTTP 303 redirects.
---
dlls/wininet/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 23686f2..05e95eb 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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);