winhttp: follow 307 temporary redirect
Karsten Elfenbein
kelfe at gmx.de
Sun May 8 05:29:40 CDT 2011
---
dlls/winhttp/request.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 2c3d534..d7c74bd 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -1835,7 +1835,7 @@ static BOOL receive_response( request_t *request, BOOL async )
if (!(request->hdr.disable_flags & WINHTTP_DISABLE_COOKIES)) record_cookies( request );
- if (status == 301 || status == 302)
+ if (status == 301 || status == 302 || status == 307)
{
if (request->hdr.disable_flags & WINHTTP_DISABLE_REDIRECTS) break;
--
1.7.5.rc3
--------------070908080503050201020804--
More information about the wine-patches
mailing list