fileHTTP requests that are made using PHP functions are like this
GET / HTTP/1.0HOST: www.douban.com
And that's what the browser is sending.
GET / HTTP/1.1Host: www.douban.comConnection: keep-aliveAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8User-Agent: xxxxxxxxxxxxxxxxxxAccept-Encoding: gzip, deflate, sdchAccept-Language: zh-CN,zh;q=0.8,en;q=0.6
Can the Lord understand it (focusing on the difference in the first line)?
If you still don't understand, please keep looking.
However, if you read 163, you will be advised that your ISP provider is not complying with the standard Internet Protocol and we have limited access to your website. You can continue to access the following links
Www.163.com
163 does not support the HTTP/1.0 protocol, but its server is configured to accept http/1.0 requests, when you use the HTTP 1.0 protocol access, will be 302 jump to Http://www.163.com/special/0077jt/error_ Isp.html, which is the error page that displays the above text
And read the Watercress, reported Warning:Warning:file (http://www.douban.com) [function.file]:
Failed to open Stream:http request failed! http/1.1 403 Forbidden in
C:\wamp\www\1\1.php on line 25
Similarly, watercress does not support http/1.0, treats http/1.0 requests more violently, directly rejects (403) because its server is not configured to enable HTTP1.0
Read Sohu is all garbled
Because Sohu's home page, is the default gzip compression