urlmon: Correctly handle INTERNET_STATUS_REDIRECT.

This commit is contained in:
Jacek Caban 2009-12-15 21:16:00 +01:00 committed by Alexandre Julliard
parent 613ebdc8b4
commit 840c52acb9
2 changed files with 5 additions and 5 deletions

View File

@ -17,11 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* TODO:
* - Handle redirects as native.
*/
#include "urlmon_main.h"
#include "wininet.h"

View File

@ -151,6 +151,11 @@ static void WINAPI internet_status_callback(HINTERNET internet, DWORD_PTR contex
report_progress(protocol, BINDSTATUS_SENDINGREQUEST, (LPWSTR)status_info);
break;
case INTERNET_STATUS_REDIRECT:
TRACE("%p INTERNET_STATUS_REDIRECT\n", protocol);
report_progress(protocol, BINDSTATUS_REDIRECTING, (LPWSTR)status_info);
break;
case INTERNET_STATUS_REQUEST_COMPLETE:
request_complete(protocol, status_info);
break;