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
This article mainly describes the Python crawler to solve the 403 Forbidden error related data, the need for friends can refer to the Python crawler to solve the 403 Forbidden error when writing a crawler in Python, Html.getcode () will encounter 403
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
1, when crawling data, sometimes encountered by the site, such as IP, response status code of 403, then we hope to be able to throw
The Closespider exception.
2, but as Scrapy official website mentions, scrapy default setting is to filter out the
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
In the website log , we often see a lot of HTTP code returned, such as 201, 304, 404, and so on. However, these specific return HTTP code exactly what the meaning of it, do a bit of knowledge in this, remember it doesn't matter, then look at the
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
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
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.