我知道这是一个老问题,但是我在这里加了两美分……我的猜测是,Web服务器多次将请求重定向到目标,浏览器放弃了。对于任何特定的Web浏览器而言,这都不是特有的问题,但是通常,将URL不断地重定向到最终目标是一种不好的做法。
例如,我运行此Curl命令进行标头检查:
curl -I -L "http://web.blackberry.com/software/smartphones/ute/blackberry10-os.html?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os"
该命令导致混合类型的7次重定向(!!!);一些是301永久的,其他是302临时的。真是疯了。根据我作为Web开发人员和系统管理员的经验,在此过程中,许多跃点在301和302之间跳转时会通过HTTP和HTTPS之间的切换进行重定向。代理服务器可能起作用的原因是,代理服务器以某种方式某种程度上更靠近源Web服务器,从而减少了其跳转过程中的重定向跃点。
某些浏览器之所以会选择它,可能是因为其内核中存在不同程度的安全逻辑,这些逻辑告诉他们何时由于过度重定向而声明网站有问题。解决该问题需要每种浏览器特有的个性化设置。
HTTP/1.1 302 Moved Temporarily
Server: AkamaiGHost
Content-Length: 0
Location: http://us.blackberry.com/software/smartphones/update/blackberry10-os.html?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Date: Sat, 15 Jul 2017 16:33:34 GMT
Connection: keep-alive
HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://us.blackberry.com/software/smartphones/update/blackberry10-os.html?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Date: Sat, 15 Jul 2017 16:33:36 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=iso-8859-1
Location: http://us.blackberry.com/software/smartphones/update/blackberry10-os/?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Server: Apache/2.4.25 (Amazon) Communique/4.1.12
X-Frame-Options: SAMEORIGIN
Date: Sat, 15 Jul 2017 16:33:40 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}
HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://us.blackberry.com/software/smartphones/update/blackberry10-os/?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Date: Sat, 15 Jul 2017 16:33:40 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Location: http://us.blackberry.com/software/smartphones/update/blackberry10-os?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Server: Apache/2.4.25 (Amazon) Communique/4.1.12
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Date: Sat, 15 Jul 2017 16:33:41 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}
HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://us.blackberry.com/software/smartphones/update/blackberry10-os?cpid=van:bb:Jan2014:vanity:bb-update:blackberry1021os
Date: Sat, 15 Jul 2017 16:33:43 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8
ETag: "2b0c5-554269064f350"
Last-Modified: Wed, 12 Jul 2017 22:44:51 GMT
Server: Apache/2.4.25 (Amazon) Communique/4.1.12
X-Frame-Options: SAMEORIGIN
Content-Length: 176325
Date: Sat, 15 Jul 2017 16:33:46 GMT
Connection: keep-alive
Set-Cookie: blackberry_iso={"country":"US", "state":"NY", "city":"NEWYORK"}