Understanding HTTP

Monday, July 02, 2007 4:27:51 PM (Mountain Standard Time, UTC-07:00)

HTTP is used for so many different reasons. While working in the wold of point of sale terminals, I spent some time sending raw HTTP packets and parsing them in C. Lot's of fun!

Here's a quick little exercise on playing with HTTP, that i found in "Microsoft .NET Framework 2.0 Web-Based Client Development"

1. Open up a command prompt: Start->Run->cmd

2. type "telnet", and press enter

3. type "o mokhan.ca 80"

4. type

"GET / HTTP/1.1

Host: mokhan.ca"

Then press enter twice

But do it quickly, before my server closes the connection due to a timeout!

 

MCTS Self-Paced Training Kit (Exam 70-528): Microsoft .NET Framework 2.0 Web-Based Client Development (Pro Certification)
by Glenn Johnson, Tony Northrup

Read more about this title...

#