File: http

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 (10 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# scripts/http - web-server accessibility (direct)

# This will return a warning level for servers requiring authentication, so
# use httpauth for those ones.

send	GET / HTTP/1.0\nUser-Agent: Remstats/0.12.0\nHost: ##HOST##\nConnection: close\n\n
port	80
timeout	5
ok      ^HTTP/\d+\.\d 200