For help, php could not crawl the webpage. I asked a few people to solve the problem. This post was last edited by dz215136304 at 11:35:47.
The url must be the url in the following code. after testing, if the parameter after q is captured with
This post was last edited by dz215136304 on 2013-06-11 11:35:47
The URL must be the following code in the URL, tested, when fetching, if the parameter after Q with a space, he will automatically convert "&" to "&", resulting in data can not be
Today, when you use the file_get_contents function to obtain a function of a remote machine, the HTTPrequestfailed prompt is displayed! HTTP1.1505HTTPVersionNotSupport... today, when you use the file_get_contents function to obtain a function of a
Network Working Group R. fieldingrequest for comments: 2616 UC runtime: 2068 J. gettyscategory: Standards track Compaq/w3cj. mogulcompaqh. frystykw3c/mitl. scheduler. leachmicrosoftt. Berners-LeeW3C/mitjune 1999
Hypertext Transfer Protocol --
Android http code response code status code, androidcode
Some common status codes are:
200-the server returns the webpage successfully
404-the requested webpage does not exist
503-server timeout
The complete list of HTTP status codes is
HTTP status Code
editing
The 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,
Some common HTTP status codes are:200– server successfully returned to Web page404– The requested page does not exist503– Service Not availableCommon HTTP status Code Daquan1XX (Temporary response)A status code that represents a temporary response
As an Internet developer, the meaning of the HTTP status returned by some servers must be well-understood, and only these status code one by one can be figured out, and all the problems encountered in the work are handled with ease. Well, let's look
1XX Information Class status code100-continue the initial request has been accepted, the customer should continue to send the remainder of the request. (HTTP 1.1 new)101-switching Protocols Server translates the client's request to another protocol (
Http response status code and response status code
From: http://hi.baidu.com/starsecond/blog/item/de75458a3cb1b51ac9fc7a6a.html
========================================================== ==========================================
100
1. Telnet Google.com 802. Press "Ctrl +]" in the Telnet window, enter the "set localecho" command, and press the Enter key twice in a row. 3. Enter
Get, HTTP, 1.1
HOST: www.sohu.com/* is not required */
/* In addition, you can use the webpage data
When I debugged the code yesterday, I used HTTP to request an image. The returned result is as follows:
HTTP/1.1 505 HTTP Version Not Supported
Server: APACHE-Coyote/1.1
Date: Wed, 27 Oct 2010 05:13:08 GMT
Connection: Close
Google Now. Most
In 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
as a program developer, you should know the meaning of the HTTP status returned by some servers, and only make sure that the status code one by one is clear and that the various problems encountered in the work can be handled with ease. So let's
2 Opening (successful request) indicates that the status code of the request was successfully processed.200 (success) The server has successfully processed the request. Typically, this indicates that the server provided the requested Web page.201
First, the opening analysis
First of all, the concept of "Http" should be more familiar, it is not based on a specific language, is a general application layer protocol, different languages have different implementation details, but same, the idea
1http Brief IntroductionHTTP Hypertext Transfer Protocol: Host address: Port/urlHost is resolved to an IP address by the DNS server, so you can sometimes use the domain name directly,HTTP default Access 80 port, HTTPS default Access 443 portThe
Message this type of status code, on behalf of the request has been accepted, need to continue processing. This type of response is a temporary response that contains only the status line and some optional response header information and ends with a
HTTP State code (HTTP status codes)Some of the common status codes are:200-Server successfully returned page 404-requested page does not exist 503-service not availableAll status explanations: Click to view1XX (Temporary response)A status code that
The 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, RFC 4918, and other specifications.1xx
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.