2. What is the Category of 4XX HTTP Codes belongs to?
4XX:
400 – Bad Request – The request cannot be fulfilled due to syntax error.
401 – Unauthorized – Valid request is made to the server but the server refused to respond due to authentication error. It could be due to invalid user name or password provided for login into page.
402 – Payment required – This is stored for the future use.
403 – Forbidden – The server is refusing to respond for the request as the request made is valid.
404 – Not Found – The requested page is not found now but it may be available in the future.
405 – Method Not Allowed – The request is made to the page or resource using method but that method is not supported by page or resource.
406 – Not Acceptable – The server can only generate a response that is not accepted by the by the client.
407 – Proxy Authentication required – Here the client must authenticate with the proxy first.
408 – Request Timeout – The server timed out waiting for the request.
409 – Conflict – The request could not be processed or completed because of the conflict in the request.
410 – Gone – This indicates that the page or resource requested is no longer available now.
411 – Length required – The request could not be processed by the server as the content length in the request is not defined.
412 – Precondition Failed – Here server does not meet any of the preconditions that the requester put in the request.
413 – Request Entity Too Large – Request content is so large that server is not able to process the request.
414 – Request URL Too Large – The server will not accept the request as the URL is too long. Due to this server is not able to process the request.
415 – Unsupported Media Type – The server is not able to process the request as the media type is not supported by the request.
416 – Request Range Not Satisfiable – This is due to that client has asked for the portion of the file but server is not able to supply that portion of the file to the client.