阅读背景:

在身份验证质询后未调用的URLSession委托

来源:互联网 

I'm making a post call to a server and I kept getting the error that the server certificate was invalid, so after researching I found that i must trust the server using authentication challenge. This goes through perfectly fine (I print the authentication challenge to make sure it does) but the rest of the call does not go through and i cannot get information back from my server, nothing happens after the authentication challenge, normally I'd expect to be returned data. However nothing happens and none of my urlsessiondatadelegates are called (checked with breaks). I'm making a post call to a server and I kept g




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: