winhttp: replace some numeric http status codes
Karsten Elfenbein
kelfe at gmx.de
Sun May 8 05:37:37 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 d7c74bd..8a21ab5 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 || status == 307)
+ if (status == HTTP_STATUS_MOVED || status == HTTP_STATUS_REDIRECT || status == HTTP_STATUS_REDIRECT_KEEP_VERB)
{
if (request->hdr.disable_flags & WINHTTP_DISABLE_REDIRECTS) break;
--
1.7.5.rc3
--------------010208040408000407010502--
More information about the wine-patches
mailing list