En Http-request är vad som skickas. De ser ut typ såhär:
GET /some/file.html HTTP/1.1
User-Agent: Opera/9.20 (Windows NT 5.1; U; en)
Host: localhost
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: sv-SE,sv;q=0.9,en;q=0.8
Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
Connection: close
Mer info:
- Wikipedia om requests: http://en.wikipedia.org/wiki/Http_request
Wikipedia om protokollet: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol - Http-standarden, RFC 2616, i detalj: ftp://ftp.isi.edu/in-notes/rfc2616.txt
Alternativt http://www.w3.org/Protocols/ (finns som html-version där)
