Commit 840c52ac authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Correctly handle INTERNET_STATUS_REDIRECT.

parent 613ebdc8
...@@ -17,11 +17,6 @@ ...@@ -17,11 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
/*
* TODO:
* - Handle redirects as native.
*/
#include "urlmon_main.h" #include "urlmon_main.h"
#include "wininet.h" #include "wininet.h"
......
...@@ -151,6 +151,11 @@ static void WINAPI internet_status_callback(HINTERNET internet, DWORD_PTR contex ...@@ -151,6 +151,11 @@ static void WINAPI internet_status_callback(HINTERNET internet, DWORD_PTR contex
report_progress(protocol, BINDSTATUS_SENDINGREQUEST, (LPWSTR)status_info); report_progress(protocol, BINDSTATUS_SENDINGREQUEST, (LPWSTR)status_info);
break; 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: case INTERNET_STATUS_REQUEST_COMPLETE:
request_complete(protocol, status_info); request_complete(protocol, status_info);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment