Notes protocole http web

HTTP

nc -nv 192.168.1.27 80 <<EOF GET /index.html HTTP/1.1 EOF

HTTPS

(echo -ne "GET / HTTP/1.1\r\nHost: www.gnu.org\r\n\r\n" ; cat ) | openssl s_client -connect www.gnu.org:443