http.header Home



Home | Http protocol | Coding references | Apache 1.3 | FAQ | About | Français


Http codes

Http headers are composed of :
  • A first line containing the request statuts.
    Example : HTTP/1.1 200 OK
     
  • 1 few line contining some attributes on the request.
    Example : Content-Type: text/html

Http codes sent by the server gives the status on the current http request.

Theses codes are normalized :

 
Informational, request received, continuing process
CONTINUE100
SWITCHING PROTOCOLS
 
101
 
Success, the action was successfully received, understood, and accepted
OK200
CREATED201
ACCEPTED202
NON AUTHORITATIVE INFORMATION   203
NO CONTENT204
RESET CONTENT205
PARTIAL CONTENT
 
206
 
Redirection, further action must be taken in order to complete the request
MULTIPLE CHOICES300
MOVED PERMANENTLY301
FOUND302
SEE_OTHER 303
NOT MODIFIED304
USE PROXY305
TEMPORARY REDIRECT
 
307
 
Client Error, the request contains bad syntax or cannot be fulfilled
BAD REQUEST400
UNAUTHORIZED401
PAYMENT REQUIRED402
FORBIDDEN403
NOT FOUND404
METHOD NOT ALLOWED405
NOT ACCEPTABLE406
PROXY AUTHENTICATION REQUIRED407
REQUEST TIMEOUT408
CONFLICT409
GONE410
LENGTH REQUIRED411
PRECONDITION FAILED412
REQUEST ENTITY TOO LARGE413
REQUEST URI TOO LARGE414
UNSUPPORTED MEDIA TYPE415
REQUEST RANGE NOT SATISFIABLE416
EXPECTATION FAILED
 
417
 
Server Error, the server failed to fulfill an apparently valid request
INTERNAL SERVER ERROR500
NOT IMPLEMENTED501
BAD GATEWAY 502
SERVICE UNAVAILABLE503
GATEWAY TIMEOUT504
HTTP VERSION NOT SUPPORTED505
 

    References

Http attributs
Http protocol




 




Matthieu Delgrange 2006 - http.header@netcourrier.com - Home