HTTP status code 0 - Error Domain=NSURLErrorDomain?

后端 未结 12 2291
予麋鹿
予麋鹿 2020-11-27 14:58

I am working on an iOS project.

In this application, I am downloading images from the server.

Problem:

While downloading images I a

12条回答
  •  时光说笑
    2020-11-27 15:36

    On gate way timeout, status will be zero on your error call back.

    .error( function( data,status,headers,config){
        console.log(status) 
     }
    

    HTTP status codes

提交回复
热议问题