Http status code (200, 404, 500, etc.) (to CSDN), 500 and other csdn
When we send a request from a client to the serverThe server returns the status code to us.The status code is the status of the server response.Through this, we can know whether
HTTP Status Response code explanation/DaquanThe HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774
When using annotations to load a request in a class (Controller), the request can be used normally (must be injected at startup, so hot deployment is not supported), but it is also used in this way to load a request already loaded Response Response 5
100
The client should continue to send the request. This temporary response is used to inform the client that some of its requests have been received by the server and are still not rejected. The client should continue to send the remainder of
Invalid HTTP 400– requestHTTP 401.1– not authorized: Logon failedHTTP 401.2– not authorized: Login failed due to server configuration problemHTTP 401.3–acl prohibit access to resourcesHTTP 401.4– not authorized: Authorization denied by filterHTTP 401
Http request and response, Http Request Response
The Http Protocol specifies the Request format sent by the browser and the Response format sent by the Web server.
The request consists of three parts:
Requset line: Request line, located in the
Http://blog.csdn.net/qxs965266509/article/details/8082810
Common request header fields in HTTP requestsAccept: the data type supported by the client for high-speed servers.Accept-charset: Used to tell the server that the client adopts the encoding
The HTTP status Code (response code) is used to indicate whether the HTTP request has completed successfully. The HTTP response type is divided into five categories: message response, successful response, redirect, client error, server-side
I. Request (Requests)Request:An application request is represented by a Yii\web\request object that provides information such as a request parameter (a translator note: Usually a get parameter or post parameter), HTTP headers, cookies, and so on. By
Common request header fields for HTTP requestsAccept: For high-speed servers, client-supported data typesAccept-charset: Used to tell the server that the encoding format used by the clientAccept-encoding: Used to tell the server that the data
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.