...if you want to get really in-depth on the subject of what to send to an HTTP server (and what to expect in response), check out RFC 2616 -- section 14 may be of particular interest.
http://www.faqs.org/rfcs/rfc2616.html
http://www.faqs.org/rfcs/rfc2616.html