$(if http-status == 302)Hotspot login required$(endif) $(if http-header == "Location")$(link-login-only)$(endif)