localhost:~ lyy$ Debug telnet www.yuansouti.com 80
localhost:~ lyy$ GET http://www.yuansouti.com HTTP/1.1
Host:www.yuansouti.com
可以请求到网页的内容
SSL/TLS
Secure Sockets Layer(SSL)
Transport Layer Security(TLS)
Client
- iOS9或macOS10.10以上默认开启(NSURLSession、NSURLConnection)
*HTTPS+TLS1.2
*例外方式:在plist文件中设置NSExceptionDomains