Called on the IO thread when a resource response is received. The
|browser| and |frame| values represent the source of the request, and may
be NULL for requests originating from service workers or cef_urlrequest_t.
To allow the resource load to proceed without modification return false
(0). To redirect or retry the resource load optionally modify |request|
and return true (1). Modification of the request URL will be treated as a
redirect. Requests handled using the default network loader cannot be
redirected in this callback. The |response| object cannot be modified in
this callback.
WARNING: Redirecting using this function is deprecated. Use
OnBeforeResourceLoad or GetResourceHandler to perform redirects.
Called on the IO thread when a resource response is received. The |browser| and |frame| values represent the source of the request, and may be NULL for requests originating from service workers or cef_urlrequest_t. To allow the resource load to proceed without modification return false (0). To redirect or retry the resource load optionally modify |request| and return true (1). Modification of the request URL will be treated as a redirect. Requests handled using the default network loader cannot be redirected in this callback. The |response| object cannot be modified in this callback.
WARNING: Redirecting using this function is deprecated. Use OnBeforeResourceLoad or GetResourceHandler to perform redirects.