0
当我发出一个NSURLRequest并且收回超时错误代码(NSURLErrorDomain Code = -1001)时,这意味着什么?这是否意味着:NSURLRequest超时错误代码
A) My request reached my web server, but the server took too long to issue a response?
B) My request did not reach the server in time (implying heavy congestion in network)
C) The server did issue a response, but the response data just did not get back to my client
app in time.
OR....
D) ALL OF THE ABOVE.
我的直觉和常识告诉我答案是D,但我可能是错的。最后,如果答案是D,是否有区分上述情况?我想采取不同的行动,根据我的回应是在网络流量的确切位置...
错误的'userInfo'告诉你什么? –
除了通用的请求超时消息之外,它并没有告诉我多少。 – AyBayBay
2014-03-27 22:03:53.891 SDKSampleApp [833:60b]错误用户信息:{ErrorsFailingURLKey =“https:// ....”; NSErrorFailingURLStringKey =“https:// ....”; NSLocalizedDescription =“请求超时。”;请求超时。“UserInfo = 0xaf8a0f0 {NSErrorFailingURLKey = https:...,NSErrorFailingURLStringKey = https:...,NSLocalizedDescription =请求超时}”请求超时。 ; } – AyBayBay