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