=========== NSError object:Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set., NSUnderlyingError=0x281e1d4d0 {Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: service unavailable (503)" UserInfo={NSLocalizedDescription=Request failed: service unavailable (503), NSErrorFailingURLKey=https://www.baidu.com, com.alamofire.serialization.response.error.data=<3c68746d 6c3e3c62 6f64793e 3c68313e 35303320 53657276 69636520 556e6176 61696c61 626c653c 2f68313e 0a4e6f20 73657276 65722069 73206176 61696c61 626c6520 746f2068 616e646c 65207468 69732072 65717565 73742e0a 3c2f626f 64793e3c 2f68746d 6c3e0a0a>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x28106e8a0> { URL: https://www.baidu.com } { Status Code: 503, Headers {
"Cache-Control" = (
"no-cache"
);
Connection = (
close
);
"Content-Type" = (
"text/html"
);
} }}}}
=========== Status code:3840
=========== NSError object:Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set., NSUnderlyingError=0x281e1d4d0 {Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: service unavailable (503)" UserInfo={NSLocalizedDescription=Request failed: service unavailable (503), NSErrorFailingURLKey=https://www.baidu.com, com.alamofire.serialization.response.error.data=<3c68746d 6c3e3c62 6f64793e 3c68313e 35303320 53657276 69636520 556e6176 61696c61 626c653c 2f68313e 0a4e6f20 73657276 65722069 73206176 61696c61 626c6520 746f2068 616e646c 65207468 69732072 65717565 73742e0a 3c2f626f 64793e3c 2f68746d 6c3e0a0a>, com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x28106e8a0> { URL: https://www.baidu.com } { Status Code: 503, Headers {
"Cache-Control" = (
"no-cache"
);
Connection = (
close
);
"Content-Type" = (
"text/html"
);
} }}}}
=========== Status code:3840