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

creating object invoking various methods

Define a class named College as described below:  Data Members: 1) collegeName 2) principalName 3) place Methods : 1) constructor. 2) display() to display the collegeName, principalName, and the place. Test this class by creating an object and then invoking the various methods. class collegeName{  public String collegeName;  public String PrincipalName;  public String place;  public collegeName(){  }  public void display(){  System.out.println("College name is "+this.collegeName);  System.out.println("Principal name is "+this.PrincipalName);  System.out.println("Place is "+this.place);  }  }  class displayName{  public static void main(String[] args) {  collegeName c = new collegeName();  c.collegeName="Siliguri Institute of Technology";  c.PrincipalName="Dr. Mithun Chakraborty";  c.place="Siliguri";  c.display();  }  } OUTPUT: College name is Siliguri Institute of Technology Princip...

Networking Interview Questions and Answers

Networking Interview Questions and Answers 1) What is a Network? Answer: The network is defined as a set of devices connected to each other through a physical transmission medium. For example, a computer network is a group of computers connected to each other to communicate and share information and resources such as hardware, data, and software. In a network, nodes are used to connect two or more networks. 2) What is a Node? Answer: Two or more computers are directly connected by fiber optics or any other cable. A node is a point where a connection is established. It is a network component used to send, receive, and forward electronic information. A device connected to a network is also called a Node. Let us consider that in a network there are 2 computers, 2 printers, and a server connected, then we can say that there are five nodes in the network. 3) What is Network Topology? Answer:  Network topology is a physical layout of the computer network and defines how computers,...

Draw the transition diagram of a finite state automation that accepts all strings over {0, 1}

Draw the transition diagram of a finite state automation that accepts all strings over {0, 1} (a) having odd number of 0’s (b) having even number of 0’s and even number of 1’s. Ans.  (a) ( having odd number of 0’s ) Ans.  (b) ( having even number of 0’s and even number of 1’s )