[PATCH] wininet: Handle HTTP 303 redirects.
Lei Zhang
thestig at google.com
Tue Nov 4 18:44:30 CST 2008
---
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);
--
1.5.4.5
--0015175cb4d845a11a045ae68ff3--
More information about the wine-patches
mailing list