File: httpauth

package info (click to toggle)
remstats 1.00a4-8woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,576 kB
  • ctags: 1,020
  • sloc: perl: 11,706; ansic: 2,776; makefile: 944; sh: 869
file content (9 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# scripts/httpauth - web-server accessibility (direct, requiring authentication)

# This treats 401 (authentication required) as ok

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