onmyway133 / notes

:notebook_with_decorative_cover: Issues and solutions I found during development, mostly iOS
https://onmyway133.com/
MIT License
62 stars 4 forks source link

Alamofire redirect #101

Open onmyway133 opened 8 years ago

onmyway133 commented 8 years ago

SessionDelegate taskWillPerformHTTPRedirectionWithCompletion

onmyway133 commented 8 years ago

// Delegate let sessionDelegate = Manager.SessionDelegate() sessionDelegate.taskWillPerformHTTPRedirectionWithCompletion = { a in print(a) }

return Manager(configuration: configuration, delegate: sessionDelegate)
onmyway133 commented 8 years ago

https://github.com/Alamofire/Alamofire/pull/317