File: http-proxy

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

# This currently DOES NOT WORK.  Under investigation.
# This script fetches a page through a proxy, which is wired into the script.

send	GET http://##HOST##/ HTTP/1.1\nUser-Agent: Remstats/0.12.0\nHost: ##HOST##\nConnection: close\n\n
proxy	FIXME-proxy-in-config/scripts/http-proxy
port	80
timeout	5
ok      ^HTTP/\d\.\d 200