Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My book makes an example where the first line of the HTTP response is:

HTTP/1.1 200 OK

Then there is a table where explains all the codes, and 200 is equal to 'OK'.

Then what is the 'OK' useful for, and why is there this redundancy?

share|improve this question

closed as off topic by Chris S Jan 8 '13 at 18:00

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

It means exactly what it says in RFC 2616, which you should have read:

6.1.1 Status Code and Reason Phrase

The Status-Code element is a 3-digit integer result code of the attempt to understand and satisfy the request. These codes are fully defined in section 10. The Reason-Phrase is intended to give a short textual description of the Status-Code. The Status-Code is intended for use by automata and the Reason-Phrase is intended for the human user. The client is not required to examine or display the Reason-Phrase.

share|improve this answer
Try looking at a different book. – mdpc Jan 8 '13 at 19:25
Would you rather believe your book or the RFC that defines the standard? – Joel E Salas Jan 9 '13 at 1:51
@RamyAlZuhouri: Ooo! Ooo! I'm one thesis away from a a Master's degree in CS and have written web servers. Is it remotely possible that I might understand the cutting edge work you're doing with HTTP status codes? – Scott Pack Jan 9 '13 at 1:52
@RamyAlZuhouri We're more than eager to learn about your situation – Joel E Salas Jan 9 '13 at 2:04
@RamyAlZuhouri: I can certainly understand your predicament. Being a university student your education should be serving two functions: 1) Teach you advanced skills and knowledge, 2) Teach you how to learn on your own. Fortunately for you this one is fairly short and Michael gave you all the information, and resources, necessary to fulfill both goals. – Scott Pack Jan 9 '13 at 2:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.