You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 300 Multiple Choices: Do not follow the redirect, just return the body
from the response. However HEAD requests return no body.
- 301 Moved Permanently, 302 Found: Follow the redirect but send POST
requests as GET when following the redirect.
- 303 See Other: Follow the redirect but always send the request to the
new Location as a GET.
- 304 Not Modified: No special handling or redirects to follow since the
server decides whether to send a response based on the request headers
If-Modified-Since or If-None-Match.
- 305 Use Proxy, 306 Switch Proxy, 307 Temporary Redirect,
308 Permanent Redirect:
Follow the redirection but do not change the method, just repeat the
request to the new location.
- This fix applies for valid redirections in the range 300-308, other
3xx codes have no specific support.
- Redirection handling should now match Darwin more closely.
Resolves SR-2679: URLSession delivers redirection delegate methods
in the wrong order.
SR-11673: URLSession download task merges redirect responses.
0 commit comments