Cyber Security| Web |Network| |HTML Status codes

Akash Ranjan Patel
4 min readFeb 11, 2021

--

The Status-Code element in a server response, is a 3-digit integer where the first digit of the Status-Code defines the class of response and the last two digits do not have any categorization role.

Types of Status Codes

1xx: Informational

Request > received & process continuing

100 Continue

Only a part of the request has been received by the server, but as long as it has not been rejected, the client should continue with the request.

101 Switching Protocols

Server switches protocol

2xx: Success

200 OK

Request >OK.

200 ok

201 Created

Request >complete & new resource >created .

202 Accepted

Request >accepted for processing| processing > continue.

203 Non-authoritative Information

The information in the entity header is from a local or third-party copy, not from the original server.

204 No Content

A status code and a header are given in the response, but there is no entity-body in the reply.

205 Reset Content

The browser should clear the form used for this transaction for additional input.

206 Partial Content

The server is returning partial data of the size requested. Used in response to a request specifying a Range header. The server must specify the range included in the response with the Content-Range header.

3xx: Redirection

More action |required >complete request.

300 Multiple Choices

A link list. The user can select a link and go to that location. Maximum five addresses .

301 Moved Permanently

Requested page > moved > new URL .

301 Moved Permanently

302 Found

Requested page > moved temporarily > new URL.

302 Found

303 See Other

Requested > found under >different URL .

304 Not Modified

This is the response code to an If-Modified-Since or If-None-Match header, where the URL has not been modified since the specified date.

305 Use Proxy

Requested URL > must Required through > proxy >mentioned in Location header.

306 Unused

Code > used > previous version| No longer used >but >code reserved.

307 Temporary Redirect

Requested page > moved temporarily > new URL.

4xx: Client Error

Request contains > incorrect syntax |cannot be fulfilled.

400 Bad Request

Server >Not > understand >request.

401 Unauthorized

Requested page > Required >username && password.

402 Payment Required

You can not use this code yet.

403 Forbidden

Access > forbidden > requested page.

404 Not Found

Server Not find >requested page.

405 Method Not Allowed

Method specify in >request >not allowed.

406 Not Acceptable

The server can only generate a response that is not accepted by the client.

407 Proxy Authentication Required

Proxy server >Must Required authenticate >request served.

408 Request Timeout

The request took longer than the server was prepared to wait.

409 Conflict

The request could not be completed because of a conflict.

410 Gone

Requested page >No long available .

411 Length Required

Content-Length” is not defined. The server will not accept the request without it .

412 Precondition Failed

The pre condition given in the request evaluated to false by the server.

413 Request Entity Too Large

The server will not accept the request, because the request entity is too large.

414 Request-url Too Long

The server will not accept the request, because the url is too long. Occurs when you convert a “post” request to a “get” request with a long query information .

415 Unsupported Media Type

The server will not accept the request, because the mediatype is not supported .

416 Requested Range Not Satisfiable

The requested byte range is not available and is out of bounds.

417 Expectation Failed

The expectation given in an Expect request-header field could not be met by this server.

5xx: Server Error

Server failed >fulfill an apparently > valid request.

500 Internal Server Error

Request > not completed & Server met > unexpected condition.

500 Internal Server Error

501 Not Implemented

Request > not completed & Server > not support (functionality required)

502 Bad Gateway

Request > not completed & Server received invalid response >from upstream server.

503 Service Unavailable

Request > Uncompleted &Server >temporarily overloading |down.

503 Service Unavailable

504 Gateway Timeout

Gateway > timed out.

505 HTTP Version Not Supported

Server > not support >“http protocol” version.

--

--

Akash Ranjan Patel

InfoSec Writer/Instructor/Custom Course Creator Bug Bounty Hunter Penetration Tester