Baidu Crawler in the crawl and processing, is based on the HTTP protocol specification to set the corresponding logic, so please webmaster also try to reference the HTTP protocol on the meaning of the return code to set the definition.
Baidu Spider to the commonly used HTTP return code processing logic is this:
1, 404
404 Return
must use it when it is overloaded. Some servers simply want to deny connections to clients.504 Gateway TimeoutWhen a server acting as a gateway or agent attempts to execute a request, it fails to receive a response from the upstream server (the server that the URI identifies, such as HTTP, FTP, LDAP), or the secondary server (such as DNS).Note: Some proxy servers return 400 or 500 errors in DNS query timeout505 HTTP Version not supportedThe server does not support or refuses to support the HTTP
Today, when you use _trename for file renaming, consider the possibility of renaming failures, and you need to log the errors corresponding to the error. From MSDN, the function fails to return a non-0, and the corresponding error code may be known through the errno macro. In order to locate the convenience of the problem, the error code corresponding to the meaning
please explain below The whole line of code in the Shell script that starts with if, have you seen the application scenario ?if (kill-0 $pid 2>/dev/du11) then echo "Oldboy" Else echo "Oldgirl" fiInterview question: Please explain the meaning of if (kill-0 $pid 2>/dev/null) code?if (kill-0 $pid 2>/dev/null) then echo "Oldboy" Else echo "Oldgirl" fiThe old boy answ
Altogether there are four paragraphs, respectively, inquiry, registration, purchase completed, Subscribe to the mail, Four paragraphs, are placed in a jump interface call, for example, when the purchase succeeds, will pop up this interface, display "buy success" word, while calling the purchase completed statistics code, a few seconds later, then jump back to the original interface,,, Probably this is the
SELECT statement
Cnn. Execute Sql
msgstring = Stokens (0) "Query Successful"
Else
Set rst = New ADODB. Instantiation of the Recordset ' temp list
Rst. Open trim$ (SQL), CNN, adOpenKeyset, adLockOptimistic ' rst opening,trim () is the action string to be held; CNN is a string expression, the name of the ODBC data source that is logged in, open in a way 。 ; Dopenkeyset, determines the type of cursor (that is, how to find) to use keyset cursors. You cannot access records deleted by anot
Crown B-Share, the code is 200018. SME Board stock code starts with 002, such as: Donghua co-creation stock code is 002065. Gem stock code to start with 300, such as: Pathfinder stock code is: 300005Letter meaning edit The letter
From: http://blog.csdn.net/zll01/article/details/5018413In the actual application of the site construction, prone to a lot of small mistakes, like MySQL was optimized not in place, the impact of the overall site browsing effect, in fact, the site's regular HTTP status code performance is the same, Google can not verify the site several solutions, mentions that because the 404 status page is not properly set, resulting in the Google Administrator tool
HTTP protocol common standard status code meaning
Status Code
meaning
Notes
200
The request is complete
2XX status codes are returned as normal status codes.
300
Multiple options
The server can perform a variety of a
HTTP error code meaning:"Continue":"101": Witching Protocols"$": OK"201": Created"202": Accepted"203": non-authoritative information"204": No Content"205": Reset Content"206": Partial Content"Multiple": Choices"301": Moved Permanently"302": Found"303": See other"304": Not Modified"305": Use Proxy"307": Temporary Redirect"$": Bad Request"401": Unauthorized"402": Payment Required"403": Forbidden"404": Not Fou
1. Whether code specification is requiredConsider the following arguments and refute/support for whether you need to have code specifications:
These norms are the result of the bureaucratic system of wasting everyone's programming time, affecting people's development efficiency, waste of time things.
I am an artist, a craftsman, I have my own norms and principles.
Norms can not be forced to
Recently I read a book that often mentions client code. how can I understand the meaning of this term? recently I read a book that is very good and often mentions the term "client code. It seems that the first person is writing server code. My understanding is that, for example, the core
server does not meet the requirements for the expected Request header field.5XX (server error)These status codes indicate that an internal error occurred while the server was processing the request. These errors may be the error of the server itself, not the request.500 (server internal error) the server encountered an error and could not complete the request.501 (not yet implemented) the server does not have the capability to complete the request. For example, this
receive a response from the upstream server (the server that the URI identifies, such as HTTP, FTP, LDAP), or the secondary server (such as DNS).
505
HTTP Version not supported
The server does not support or refuses to support the HTTP version used in the request. This implies that the server cannot or does not want to use the same version as the client. The response should contain an entity that describes why the version is not supported and which protocols the server s
The status code consists of three digits, and the first number defines the category of the response, divided into five categories:1XX: Indication information--Indicates that the request has been received and continues processing2XX: Success-Indicates that the request has been successfully received, understood, accepted3XX: Redirect--further action is required to complete the request4XX: Client Error--Request syntax error or request not implemented5XX:
Introduction: This is the server statusCodeOn the details page of the description, we will introduce the related knowledge, skills, experiences, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 332945 'rolling = 'no'>Server Status Code meaning
It should be used during development.ArticleBecau
HTTP Status Code meaning 1XX** Continue: Informs the client that the operation can continue * 101 Switching protocols: When a client needs to make a communication protocol switch, the server-side response is used in conjunction with the upgrade header 2XX*** Ok: The server correctly responds to the request and returns the status code if it does not match the
In the middleware transaction code R3AC1, the size of the block size can be maintained for a middleware adapter object.Taking the size of 50 as an example, assuming that there are 110 devices in the ERP system (equipment) need to download, then the CRM middleware will automatically generate 3 inbound queue to perform the download task, 2 queues each download 50 devices, the other 1 queues to download the remaining 10 devices.The transaction processing
HTTP Response Code
code meaning
200
Created, the request succeeds, and the server has created a new resource.
201
Show only app instances in the warning state
301
Redirect, the requested page has been permanently moved to the new location. When the server returns this response, the requestor is a
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.