if you want to trace sent and recieved headers, i'd recommend using a very useful application called httpwatch. from their site you shall learn many useful things
http://www.httpwatch.com/h
here is a typical get header sent to their site, and as you see, get is the very first thing posted
Main Topics
Browse All Topics





by: RurnePosted on 2008-01-24 at 10:35:28ID: 20735853
"From the HTTP/1.1 specification (http://www.w3.org/Protoco ls/rfc2616 /rfc2616-s ec5.html#s ec5):
Request = Request-Line ; Section 5.1
*(( general-header ; Section 4.5
| request-header ; Section 5.3
| entity-header ) CRLF) ; Section 7.1
CRLF
[ message-body ] ; Section 4.3
5.1 Request-Line
The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. The elements are separated by SP characters. No CR or LF is allowed except in the final CRLF sequence.
Request-Line = Method SP Request-URI SP HTTP-Version CRLF"
So, the first line in any request is always going to be the GET action itself. After that, it's an unordered list of headers, though typically it's a Host: command to specify which virtual host you're trying to contact. I have seen user agents issue an Accept: before the Host: command and still work, though, so it just depends. However, Host: is the only required header for a valid HTTP/1.1 connection, so it typically gets priority.