DescriptionHandle redirects in AuthenticatingURLLoaderImpl.
This CL adds |FollowRedirect()| to authenticating_url_loader.mojom. The logic
for implementing redirects is as follows:
- When the AuthenticatingURLLoaderImpl receives a response that is a redirect,
it sets the redirect url as the url of its "new" request and clears its
authentication state, since that authentication state was for the
pre-redirect request. If the client had requested that requests be
automatically followed, it then calls |FollowRedirect()| on its internal
URLLoader. Otherwise, it returns the response to the client but saves its
internal URLLoader in case the client responds by calling |FollowRedirect()|.
R=qsr@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/524ef56969655b5eff8becc6ca737cc2663d156d
Patch Set 1 #Patch Set 2 : Fix dcheck #
Total comments: 2
Patch Set 3 : Response to review #
Messages
Total messages: 6 (2 generated)
|