Security. c
The main function is to verify the login user information. The corresponding information is displayed on the page. If the information fails, the error page is displayed. If the information is successful, the user name and password are
If you send a request to your server to display a webpage on your website (for example, when a user accesses your webpage through a browser or crawls the webpage on googlebot, your server returns the HTTP status code to respond to the request.
This
100 continue: the initial request has been accepted, and the customer should continue to send the rest of the request.
101 switching protocols: the server converts a client-compliant request to another protocol.
200 OK: Everything is normal. The
This section here is mainly about Urlerror and httperror, and some of the handling of them.
1.URLError
First explain the possible causes of Urlerror:
Network is not connected, that is, the computer cannot surf the internet
Cannot connect
# Info: Theconffornginx # Author: dingtm # CTime: 2010.07.01userwwwwww; # Number of Users and Groups running NGINX worker_processes4; # Number of nginx processes. we recommend that you specify the number of CPUs, it is generally a multiple of each...
Detailed description of some common headers. Common header commands include HTTP-Version, Status, and Reason-Phrase ).
Common header commandsThe header is divided into three parts:The first part is the HTTP Version );
The second part is the Status
PHP headers used in the HTTP protocol and common methods Summary, header summary
This paper summarizes the HTTP protocol used by headers in PHP and the common methods. Share to everyone for your reference. Here's how:
Copy CodeThe code is as
This status code provides information about the request status, telling Googlebot about your website and the requested webpage.
In the practical application of website construction, many small mistakes may occur, just as mysql was not optimized at
When php returns an HTTP status code for the interview, many people ask me this and record it ??? 200 is OK ,?? 404 indicates that the. HTTP protocol status code is not found on the page. when calling a function, you only need to assign $ num to a
In the practical application of website construction, many small mistakes may occur, just as MySQL was not optimized at the beginning, affecting the overall browsing effect of the website. In fact, the regular HTTP status code of a website is the
Although I often write about ajax, I seldom want to know the meaning of the status values of xmlHttpRequest. I just Google it when I use it, And I Will repost what I have summarized below, learning and learning.
The status of the xmlHttpRequest
Implementation ideas:
Use two redis-servers as the backend, and then use haproxy as the Load balancer. configure a shell for health check on each redis-server machine, use xinetd to set the shell as a service listening port 9981 and manage
Microsoft. XMLHttp component attributes1. steps:1. Create an XMLHTTP object // MSXML4.0 is required2. Open the connection with the server, and define the command sending method, Service webpage (URL), and request permissions. The client opens a
HTTP status codes and Status Codes
An error may occur when the browser requests services from the web server. This may return the following series of status messages:1xx: Information
Message:
Description:
100 Continue
The
Common HTTP status codes in the production environment
The List of common HTTP status codes in the production environment is:
200-OK. The server returns the webpage successfully.-Standard response for successful HTTP requests.
301-Moved Permanently (
Premise: the master-slave structure is in place, and the master database is not configured with persistence. Configure AOF from the slave database. (The master database is used for backup and write services, and the slave database is used to provide
The complete HTTP 1.1 specification is from RFC 2616. You can view it at http://www.rfc-editor.org/on-line. The HTTP 1.1 Status Code is marked as a new feature because many browsers only Support HTTP 1.0. You should only send the status code to
HTTPThe meaning of Protocol Status Codes is divided into five types.,Generally:~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 ×Retained2 ×Indicates that the request is successfully received.3××To complete the request, the customer needs to further refine the request4
The status of the XMLHTTPRequest object indicates the status of the current HTTP request, which is a long integer data. Here we will introduce its meaning.
HTTP Request status and its meaning
1xx-Information prompt100-the initial request has
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.