iOS9 beta 请求出现App Transport Security has blocked a cleartext HTTP (http://)
2015-09-22 10:52
507 查看
错误描述:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your
app‘s
Info.plist file.
在iOS9 beta中,苹果将原http协议改成了https协议,使用
TLS1.2 SSL加密请求数据。
解决方法:
在info.plist 加入key
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your
app‘s
Info.plist file.
在iOS9 beta中,苹果将原http协议改成了https协议,使用
TLS1.2 SSL加密请求数据。
解决方法:
在info.plist 加入key
<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
相关文章推荐
- 函数调用分析 http://www.cnblogs.com/bangerlee/archive/2012/05/22/2508772.html
- [转载]MAC、IP头、TCP头、UDP头帧格式、详解
- 【转】 httpclient 模拟浏览器动作需注意的cookie和HTTP头等信息
- hihoCoder 北京网络赛 #1234 : Fractal
- 用gdb 查看,执行汇编代码 http://blog.csdn.net/hejinjing_tom_com/article/details/26704487
- Nginx 的 TCP 负载均衡介绍
- 一只简单的网络爬虫(基于linux C/C++)————开篇
- Android中getSystemService介绍,获取系统的运行状态,判断当前网络状态
- Curl POST to HTTPS url gives SSLRead() error:curl: (56) SSLRead() return error -9806
- iOS iOS9 HTTP请求失败
- 技术杂谈(1)——Vmware网络连接模式简介
- socket通讯原理以及tcp、ip三次握手机制分析
- 进程0 进程1 http://blog.chinaunix.net/uid-26874138-id-3183711.html
- 使用AsyncTask异步更新UI界面(加载网络图片)
- 终于明白#!bin/sh是什么意思了 (2009-10-06 21:58:47) http://blog.sina.com.cn/s/blog_4d32d0b40100fngc.html
- 计算机网络面试常考
- win7 VMware CentOS桥接(bridge)模式网络配置
- win7 VMware CentOS桥接(bridge)模式网络配置
- TCP segment of a reassembled PDU
- HTTP Request GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE Methods