Shell command: curl-i-M 10-o/dev/null-s-W%{http_code}http://test.com
curl_init-initialization of a curl session
curl_copy_handle-Copy all the contents and parameters of a Curl connection resource
curl_errno-returns a numeric number that contains the current session error information
curl_error-returns a string containing the current session error message
Curl_exec-performing a Curl session
Curl_getinfo-gets the information for a Curl connection resource handle
curl_multi_init-initializing a curl batch handle resource
curl_multi_add_handle-Adding a separate curl handle resource to a curl batch session
curl_multi_close-closing a batch handle resource
curl_multi_exec-parsing a Curl batch handle
curl_multi_getcontent-returns the text stream of the obtained output
Curl_multi_info_read-Gets the related transfer information for the currently resolved curl
curl_multi_remove_handle-removing a handle resource from the Curl batch handle resource
Curl_multi_select-get all the sockets associated with the CURL extension, which can and be "selected"
curl_setopt_array-set session parameters as an array for a curl
curl_setopt-setting session parameters for a curl
curl_version-getting the version information about Curl
curl_close-closing a Curl session
During the curl crawl, a http_code is returned, and the following is their meaning information
$http _code["0"]= "unable to access";
$http _code[""]= "Continue";
$http _code["101"]= "Switching Protocols";
$http _code["]=" "OK";
$http _code["201"]= "Created";
$http _code["202"]= "Accepted";
$http _code["203"]= "non-authoritative Information";
$http _code["204"]= "No Content";
$http _code["205"]= "Reset Content";
$http _code["206"]= "Partial Content";
$http _code["]=" multiple Choices ";
$http _code["301"]= "Moved permanently";
$http _code["302"]= "Found";
$http _code["303"]= "See other";
$http _code["304"]= "not Modified";
$http _code["305"]= "use Proxy";
$http _code["306"]= "(Unused)";
$http _code["307"]= "temporary Redirect";
$http _code["]=" "Bad Request";
$http _code["401"]= "unauthorized";
$http _code["402"]= "Payment Required";
$http _code["403"]= "Forbidden";
$http _code["404"]= "not Found";
$http _code["405"]= "Method not allowed";
$http _code["406"]= "not acceptable";
$http _code["407"]= "Proxy authentication Required";
$http _code["408"]= "Request Timeout";
$http _code["409"]= "Conflict";
$http _code["410"]= "Gone";
$http _code["411"]= "Length Required";
$http _code["412"]= "precondition Failed";
$http _code["413"]= "Request Entity Too Large";
$http _code["414"]= "Request-uri Too Long";
$http _code["415"]= "Unsupported Media Type";
$http _code["416"]= "requested Range not satisfiable";
$http _code["417"]= "expectation Failed";
$http _code[""]= "Internal Server Error";
$http _code["501"]= "not implemented";
$http _code["502"]= "bad Gateway";
$http _code["503"]= "Service unavailable";
$http _code["504"]= "Gateway Timeout";
$http _code["505"]= "HTTP Version not supported";
Curl http_code Status code meaning and information