Skip to main content

HTTP STATUS CODES - Information Codes, Successful Codes, Redirection Codes, Client Error Codes, Server Error Codes, Request Methods

HTTP STATUS CODES

HTTP Status Codes
(Image Source - Google Images)


1XX = HTTP Information Codes:
    -100 : Continue
    -101 : Switching Protocols
    -102 : Processing
    -103 : Checkpoint
    -122 : Request-URI too Long


2XX = HTTP Successful Codes:
    -200 : OK
    -201 : Created
    -202 : Accepted
    -203 : Non-Authoritative Information
    -204 : No Content
    -205 : Reset Content
    -206 : Partial Content
    -207 : Multi-Status
    -208 : Already Reported
    -226 : IM Used


3XX = HTTP Redirection Codes:
    -300 : Multiple Choices
    -301 : Moved Permanently
    -302 : Found
    -303 : See Other
    -304 : Not Modified
    -305 : Use Proxy
    -306 : Switch Proxy
    -307 : Temporary Redirect
    -308 : Permanent Redirect


4XX = HTTP Client Error Codes:
    -400 : Bad Request
    -401 : Unauthorized
    -402 : Payment Required
    -403 : Forbidden
    -404 : Not Found
    -405 : Method Not Allowed
    -406 : Not Acceptable
    -407 : Proxy Authentication Required
    -408 : Request Timeout
    -409 : Conflict
    -410 : Gone
    -411 : Length Required
    -412 : Precondition Failed
    -413 : Request Entity too large
    -414 : Request URI too long
    -415 : Unsupported Media Type
    -416 : Request Range not
    -417 : Expectation Failed
    -418 : I am a teapot
    -422 : Un-processable Entity
    -423 : Locked
    -424 : Failed Dependency
    -425 : Unordered Collection
    -426 : Upgrade Required
    -428 : Precondition Required
    -429 : Too Many Requests
    -431 : Request Header Fields too large
    -444 : No Response
    -449 : Retry With
    -450 : Blocked by Windows Parental Controls
    -451 : Unavailable for Legal
    -499 : Client Closed Request
 

5XX = HTTP Server Error Codes:
    -500 : Internal Server Error
    -501 : Not Implemented
    -502 : Bad Gateway
    -503 : Service Unavailable
    -504 : Gateway Timeout
    -505 : HTTP Version Not Supported
    -506 : Variant Also Negotiates
    -507 : Insufficient Storage
    -508 : Loop Detected
    -509 : Bandwidth Limit Exceed
    -510 : Not Extended
    -511 : Network Authentication Required
    -598 : Network Read Timeout Error
    -599 : Network Connect Timeout Error


HTTP Request Methods:
    -GET : Requests a representation of the specified resource.
    -POST : Requests the Server to accept the entity enclosed in the request.
    -HEAD : Request similar to GET but without the response body.
    -PUT : Requests to store the enclosed entity to supplied URI.
    -DELETE : Delete the specified resource
    -OPTIONS : Returns the HTTP Methods supported by the server for URL Specified.
    -CONNECT : Starts a two-way communication with requested resource.

Comments

Popular posts from this blog

SQL Constraints, NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, DEFAULT, CREATE INDEX

SQL Constraints (Image by - Sharma Guides | Subham232330) Constraints   |   |- CHECK   |   |- NOT NULL   |   |- UNIQUE   |   |- PRIMARY KEY   |   |- DEFAULT   |   |- FOREIGN KEY   |   |- INDEX * These constraints are also known as Integrity Constraints . * SQL Constraints:- Constraints are the rules and restrictions applied to the data in a table. * NOT NULL:- Value cannot be Null in a column. * UNIQUE:- Value cannot be the same in a column. * PRIMARY KEY:- Used to uniquely identify a row. * FOREIGN KEY:- References a row in another table. * CHECK:- Satisfies a specific condition. * DEFAULT:- Set default value. * CREATE INDEX:- Used to speed up the reading process.

Normalization Types in DBMS

Normalization Types in DBMS First Normal Form (1NF) A relation will be 1NF if it contains an atomic value.  It states that an attribute of a table cannot hold multiple values. It must hold only single-valued attribute. First normal form disallows the multi-valued attribute, composite attribute, and their combinations. Example: Relation EMPLOYEE is not in 1NF because of multi-valued attribute EMP_PHONE. EMPLOYEE table: EMP_ID EMP_NAME EMP_PHONE EMP_STATE 14 John 7272826385, 9064738238 UP 20 Harry 8574783832 Bihar 12 Sam 7390372389, 8589830302 Punjab The decomposition of the EMPLOYEE table into 1NF has been shown below: EMP_ID EMP_NAME EMP_PHONE EMP_STATE 14 John 7272826385 UP 14 John 9064738238 UP 20 Harry 8574783832 Bihar 12 Sam 7390372389 Punjab 12 Sam 8589830302 Punjab Second Normal Form (2NF) In the 2NF, relational must be in 1NF.  In the second normal form, all non-key attributes are fully functional dependent on the primary key  Example: Let's assume, a school can ...

Authentication vs Authorization

Authentication vs Authorization - Authentication and authorization are the two words used in the security world. They might sound similar but are completely different from each other. Authentication is used to authenticate someone's identity, whereas authorization is a way to provide permission to someone to access a particular resource. These are the two basic security terms and hence need to be understood thoroughly. In this topic, we will discuss what authentication and authorization are and how they are differentiated from each other. What is Authentication? Authentication is the process of identifying someone's identity by assuring that the person is the same as what he is claiming for. It is used by both server and client. The server uses authentication when someone wants to access the information, and the server needs to know who is accessing the information. The client uses it when he wants to know that it is the same server that it claims to be. The authentication by t...