scrapy / scrapy
1
"""
2
Module containing all HTTP related classes
3

4
Use this module (instead of the more specific ones) when importing Headers,
5
Request and Response outside this module.
6
"""
7

8 7
from scrapy.http.headers import Headers
9

10 7
from scrapy.http.request import Request
11 7
from scrapy.http.request.form import FormRequest
12 7
from scrapy.http.request.rpc import XmlRpcRequest
13 7
from scrapy.http.request.json_request import JsonRequest
14

15 7
from scrapy.http.response import Response
16 7
from scrapy.http.response.html import HtmlResponse
17 7
from scrapy.http.response.xml import XmlResponse
18 7
from scrapy.http.response.text import TextResponse

Read our documentation on viewing source code .

Loading