Status Ok: The status code 200(Ok) indicates
Status CodesThe status code of HTTP is one type of integer code.Which is three-digit code, indicates the result code of request. From the firstdigit of status code we can identify the class of response from. For example,if a status code 200 found on client machine, then it means that this statuscode is from the 2xx class which indicates the client request was successfully received,understood and accepted.Different classes of status code are listed below:1xx (Informational):This response indicates that the request has been receivedand process is under progress.
100 Continue:The status code 100(Continue) indicates that theinitial part of the request has not yet been rejected from the server and theserver will send the final response to the client after the request has beenfully received. 101 Switching Protocol:The status code 101(Switching Protocol) indicates thatthe client has request to the server to switch the protocols and the servermachine has accepted to do that.2xx (Successful):2xx class of status code results that the action isreceived and it is also understood and accepted.200 Ok:The status code 200(Ok) indicates that the action hassucceeded and the payload has been sent in 200 response which is depends onrequest method.
We Will Write a Custom Essay Specifically
For You For Only $13.90/page!
201 Created:The status code 201(Created) indicates that the requestis fulfilled and fully accepted, and new resource will be created.202 Accepted: The status code 202(Accepted) indicates that theaction is completely accepted for processing from server side but theprocessing is not yet completed.203 Not Authoritative Information:The status code 203(Not Authoritative Information) indicatesthat the entity header information is third-party copy or from local server,not from the original server.204 No Content:The status code204(No Content) and a header are given in the response, but there is no indicationbody in the response. 205 Reset Content:The status code 205(Reset Content) indicates that the usedform for this transaction for additional input in the browser.206 Partial Content:The status code 206(Partial Content) indicates thatthe server is returning the partial data of the size requested from client.3xx Redirection:In this class the remaining action must be taken forcompleting the request. 300 Multiple Choices: The status code 300(Multiple Choices) will display thelink list and from them the client can select a link and go to the expectedlocation or destination.
Maximum five addresses could display.301 Moved Permanently: The status code 301(Moved Permanently) indicates thatthe requested page has moved to the new URL in browser.302 Found: The status code 302(Found) indicates that therequested page has moved temporarily to the new URL in browser.303 See Other:The status code 303(See Other) indicates that therequested page will be displayed under the different URL in browser.304 Not Modified:The status code 304(Not Modified) indicates that theURL has not modified since the last specific date.305 Use Proxy:The status code 305(Use Proxy) indicates that therequested URL is accessed from a proxy server in the location header.306 Unused:This code is used in previous version.
It is no longerused but it is still reserved code.307 Temporary Redirect:The status code 307(Temporary Redirect) indicates thatthe requested page has moved temporarily to the new URL in browser.4xx Client Error:This class will give all the client error where theclient request is not appropriate or cannot be fulfilled.400 Bad Request:The status code 400(Bas Request) indicate that theserver did not understand the requested action from client.401 Unauthorised:The status code 401(Unauthorised) indicates that the requestedpage is credential protected and it needs a username and password.
402 Payment Required:The status code 402(Payment Required) indicates thatthe requested page needs the payment first and then it will be displayed.403 Forbidden:The status code 403(Forbidden) indicates that theaccess of the page is forbidden.404 Not Found:The status code 404(Not Found) indicates that servercannot found the requested page.405 Method Not Allowed:The status code 405(Method Not Allowed) indicates thatthe method specified in the request is not allowed. 406 Not Acceptable:The status code406(Not Acceptable) indicates that the server can only generate a response thatis not accepted by the client. 407 Proxy Authentication Required:The status code 407(Proxy Authentication Required)indicates that you must authenticate with a proxy server before this requestcan be served.408 RequestTimeout:The status code 408(RequestedTimeout) indicate that the request took longer than the server was prepared towait.
409 Conflict:The status code 409(Conflict)indicates that the request could not be completed because of a conflict. 410 Gone: This status code indicatesthe requested page is no longer available. 411 LengthRequired: This status codeindicates that the “Content-Length” is not defined. The server willnot accept the request without it. 412 PreconditionFailed: This status codeindicates that pre-condition given in the request evaluated to false by theserver. 413 Request EntityToo Large: This status codeindicates that the server will not accept the request, because the requestentity is too large. 414 Request-URLToo Long:This status codeindicates that the server will not accept the request, because the URL is toolong.
Occurs when you convert a “post” request to a “get”request with a long query information. 415 UnsupportedMedia Type: This status codeindicates that the server will not accept the request, because the media typeis not supported. 416 RequestedRange Not Satisfiable: This status codeindicates that the requested byte range is not available and is out of bounds. 417 ExpectationFailed: His status codeindicates that the expectation given in an Expect request header field couldnot be met by this server.5xx: Server Error It means theserver failed to fulfil an apparently valid request.
500 Internal ServerError: This status codeindicates that the request was not completed. The server met an unexpectedcondition. 501 NotImplemented: This status codeindicates that the request was not completed. The server did not support thefunctionality required.
502 Bad Gateway: The status codeindicates that the request was not completed. The server received an invalidresponse from the upstream server. 503 ServiceUnavailable: The status codeindicates that the request was not completed. The server is temporarilyoverloading or down. 504 GatewayTimeout: This status code indicatesthat the gateway has timed out. 505 HTTP VersionNot Supported: This status code indicatesthat the server does not support the”http protocol” version.