0% found this document useful (0 votes)
3 views8 pages

HTTP Status Code

The document outlines HTTP status codes categorized into five groups: 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error). Each category includes specific codes with their meanings and descriptions, such as '200 OK' for a successful request and '404 Not Found' for a resource that cannot be found. The document serves as a reference for understanding the different responses a server can provide to client requests.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views8 pages

HTTP Status Code

The document outlines HTTP status codes categorized into five groups: 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error). Each category includes specific codes with their meanings and descriptions, such as '200 OK' for a successful request and '404 Not Found' for a resource that cannot be found. The document serves as a reference for understanding the different responses a server can provide to client requests.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

HTTP

Status
Code
(1xx to 5xx) with examples

Swarup Mukharjee
1xx – Informational
Code Meaning Description

Initial part of
request received,
100 Continue
continue.

Server switches
Switching protocols as
101
Protocols requested.

Server is processing
102 Processing the request.

Swarup Mukharjee
2xx – Success
Code Meaning Description

Request
200 OK
succeeded.

Resource
201 Created successfully
created.

Request accepted but


202 Accepted not yet processed.

Success, but no
204 No Content content to return.

Swarup Mukharjee
3xx – Redirection
Code Meaning Description

Resource
Moved permanently
301
Permanently moved to another
URL.

Temporarily
302 Found moved to another
URL.

Cached version is still


304 Not Modified valid.

Resource temporarily
Temporary
307 moved, method
Redirect unchanged.

Swarup Mukharjee
4xx – Client Error
Code Meaning Description

Malformed or
400 Bad Request
invalid request.

Authentication
401 Unauthorized
required.

Access denied
403 Forbidden despite valid
authentication.

Resource not
404 Not Found
found on server.

Method Not HTTP method not


405
Allowed supported.

Swarup Mukharjee
4xx – Client Error
Code Meaning Description

Server timed out


Request
408 waiting for the
Timeout
request.

Too Many Client sent too


429
Requests many requests.

Swarup Mukharjee
5xx – Server Error
Code Meaning Description

Internal General error on


500
Server Error server.

Server does not


Not
501 support the
Implemented
request.

Server received
502 Bad Gateway
invalid response.

Service Server is down or


503
Unavailable overloaded.

Upstream server
Gateway
504 failed to respond in
Timeout
time.

Swarup Mukharjee
"Don't watch the
clock; do what it
does. Keep going."
— Sam Levenson

Swarup Mukharjee

You might also like