Blog de programación, errores, soluciones

Http status code and reason message

Http header use http status to know what’s going on with the procceses of a request and send a response composed by

Status-Line;
(( general-header; response-header; | entity-header )
);
[ message-body ];

1xx: Informational – Request received, continuing process

2xx: Success – The action was successfully received, understood, and accepted

3xx: Redirection – Further action must be taken in order to complete the request

4xx: Client Error – The request contains bad syntax or cannot be fulfilled

5xx: Server Error – The server failed to fulfill an apparently valid request

Status code Table

100Continue
101Switching Protocols
200OK
201Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206Partial Content
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304Not Modified
305 Use Proxy
307Temporary Redirect
400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Time-out
409Conflict
410Gone
411Length Required
412Precondition Failed
413Request Entity Too Large
414Request-URI Too Large
415Unsupported Media Type
416Requested range not satisfiable
417Expectation Failed
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Time-out
505HTTP Version not supported

Ayudame: Por favor deja un comentario antes de irte, tu opinión es bienvenida. Si te gusta el contenido comparte.
Last 4 post in same category