Skip to content

SR-13028: URLSession does not call willPerformHTTPRedirection #2974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2021

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Jan 17, 2021

  • Check if the session delegate conforms to URLSessionTaskDelegate
    instead of using the task behaviour, as dataTask()s created with
    a completion handler dont have a .callDelegate behaviour. This was
    preventing the delegate method from being called.

- Check if the session delegate conforms to URLSessionTaskDelegate
  instead of using the task behaviour, as dataTask()s created with
  a completion handler dont have a .callDelegate behaviour. This was
  preventing the delegate method from being called.
@spevans
Copy link
Contributor Author

spevans commented Jan 17, 2021

@swift-ci test

@spevans
Copy link
Contributor Author

spevans commented Jan 17, 2021

@swift-ci test linux

2 similar comments
@spevans
Copy link
Contributor Author

spevans commented Jan 17, 2021

@swift-ci test linux

@spevans
Copy link
Contributor Author

spevans commented Jan 17, 2021

@swift-ci test linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant