Simple HTTP web servers: Using python: python -m SimpleHTTPServer 8000 Using nc (while testing a bad content length header): while true; do { echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 666\r\n'; cat index.html; } | nc -l 8000; done