server responses statusu codes meaning
Status Codes With URLs and verbs, the client can initiate requests to the server. In return, the server responds with status codes and message payloads. The status code is important and tells the client how to interpret the server response. The HTTP spec defines certain number ranges for specific types of responses: 1xx: Informational Messages All HTTP/1.1 clients are required to accept the Transfer-Encoding header. This class of codes was introduced in HTTP/1.1 and is purely provisional. The server can send a Expect: 100-continue message, telling the client to continue sending the remainder of the request, or ignore if it has already sent it. HTTP/1.0 clients are supposed to ignore this header. 2xx: Successful This tells the client that the request was successfully processed. The most common code is 200 OK . For a GET request, the server sends the resource in the message body. There are other less frequently used codes: 202 ...