Skip to content
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

UrlSession willPerformHTTPRedirection failed when import module #21

Closed
MarcoAlessandroRiggio opened this issue May 15, 2018 · 3 comments

Comments

@MarcoAlessandroRiggio
Copy link

MarcoAlessandroRiggio commented May 15, 2018

Hi,

when import the module CocoaDebug in the project, the delegate method willPerformHTTPRedirection of URLSessionTaskDelegate never called, but if we remove the module (remove completely from the project not only remove import) the method was called correctly.

This behavior only manifested using URLSessionConfiguration.default, but from version 0.2.3 also with URLSessionConfiguration.ephemeral

In attached, a sample project that reproduces the problem.
DemoRedirect.zip

Thanks
Marco

@CocoaDebug CocoaDebug added the bug Something isn't working label May 15, 2018
@CocoaDebug
Copy link
Owner

OK, I will fix it tomorrow~ Thanks for waiting....

@CocoaDebug
Copy link
Owner

CocoaDebug commented May 18, 2018

New version published.
Sorry for coming late~

@MarcoAlessandroRiggio
Copy link
Author

MarcoAlessandroRiggio commented May 18, 2018

Everything work corectly.
Thanks a lot for your celerity.
Great Job.

@CocoaDebug CocoaDebug removed the bug Something isn't working label Apr 2, 2019
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

No branches or pull requests

2 participants