echo "bad request(empty)" echo '' | telnet localhost 8080 echo "bad request(no method/path/protocol)" echo 'get' | telnet localhost 8080 echo "not implemented" echo 'head / 1' | telnet localhost 8080 echo "not start with backslash" echo 'get index.html 1' | telnet localhost 8080 echo "checking .." echo 'get /../index.html 1' | telnet localhost 8080 echo "ask non-existing file" echo 'get /taaaaaaaaaaaaaaaaaaa.jpg 1' | telnet localhost 8080 echo "ask directory which doesnt end slash" echo 'get /testing 1' | telnet localhost 8080 echo "asking implicitely index.html" echo 'get / 1' | telnet localhost 8080 echo "forbidden implicit index.html" echo 'get /testing/index.html 1' | telnet localhost 8080 echo "forbidden file" echo 'get /forbidden.html 1' | telnet localhost 8080 echo "asking explicitely index.html" echo 'get /index.html 1' | telnet localhost 8080