Skip to content

Instantly share code, notes, and snippets.

@donpdonp
Created August 19, 2011 00:19
Show Gist options
  • Save donpdonp/1155687 to your computer and use it in GitHub Desktop.
Save donpdonp/1155687 to your computer and use it in GitHub Desktop.
## mongrel config
web_app_proxy = Proxy(addr='127.0.0.1', port=1500)
routes = {
'/': web_app_proxy,
}
$ sudo tcpflow -c -i lo port 1500
tcpflow[7196]: listening on lo
127.000.000.001.55068-127.000.000.001.01500: GET / HTTP/1.1
Host: donpark.org
User-Agent: Links (1.00pre20; OpenBSD 4.7 i386; 99x22)
Accept: */*
Accept-Charset: us-ascii, ISO-8859-1, ISO-8859-2, ISO-8859-4, ISO-8895-5, ISO-8859-7, ISO-8895-9, ISO-8859-13, ISO-8859-15, ISO-8859-16, windows-1250, windows-1251, windows-1257, cp437, cp737, cp850, cp852, cp866, x-cp866-u, x-mac, x-mac-ce, x-kam-cs, koi8-r, koi8-u, TCVN-5712, VISCII, utf-8
Accept-Language: en, *;q=0.1
Connection: Keep-Alive
No X-FORWARDED-FOR there....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment