# scripts/httpauth - web-server accessibility (direct, requiring authentication)
# $Id: httpauth,v 1.3 2002/09/10 12:53:04 remstats Exp $

# This treats 401 (authentication required) as ok

send	GET / HTTP/1.0\User-Agent: Remstats/@@VERSION@@\r\nHost: ##HOST##\r\nConnection: close\r\n\r\n
port	80
timeout	5
ok      ^HTTP/\d\.\d (200|401)

