r two types of HTTP messages: request, response r all msgs in ASCII (human-readable) format r HTTP request message example: GET tau.ac.il/index.html HTTP/1.1\r\n Host: www-net.cs.umass.edu\r\n User-Agent: Firefox/3.6.10\r\n Accept: text/html,application/xhtml+xml\r\n Accept-Language: en-us,en;q=0.5\r\n Accept-Encoding: gzip,deflate\r\n Accept-Charset: ISO-8859-1,utf-8;q=0.7\r\n Connection: Close\r\n \r\n carriage return, line feed at start of line indicates end of header lines HTTP request message request line header lines Application 8-19 carriage return character line-feed character method (other methods: POST, HEAD, …)
{}