Для запроса ниже по проверке в неволе:
GET /hotspot-detect.html HTTP/1.0
Host: captive.apple.com
Connection: close
User-Agent: CaptiveNetworkSupport-355.260.2 wispr
Я отправляю ниже как ответ:
HTTP/1.1 200 OK
<HTML>
<!--
<?xml version="1.0" encoding="UTF-8"?>
<WISPAccessGatewayParam
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:noNamespaceSchemaLocation="http://www.wballiance.net/wispr/wispr_2_0.xsd">
<Redirect>
<MessageType>100</MessageType>
<ResponseCode>0</ResponseCode>
<AccessProcedure>1.0</AccessProcedure>
<VersionLow>1.0</VersionLow>
<VersionHigh>2.0</VersionHigh>
<AccessLocation>xxxxxxxxxxxxxxx</AccessLocation>
<LocationName> xxxxxxxxxxxxxxxxxx </LocationName><LoginURL>https://xxxxxxxxxxxxxxxxx</LoginURL>
</Redirect>
</WISPAccessGatewayParam>
-->
</HTML>
Я получаю заставку, но на экране отображается белая пустая страница. Я надеялся увидеть приглашение входа в wispr для имени пользователя и пароля. Я делаю или ожидаю неправильно?