mirror of https://github.com/scrapy/scrapy.git
31 lines
850 B
Python
31 lines
850 B
Python
"""
|
|
Module containing all HTTP related classes
|
|
|
|
Use this module (instead of the more specific ones) when importing Headers,
|
|
Request and Response outside this module.
|
|
"""
|
|
|
|
from scrapy.http.headers import Headers
|
|
from scrapy.http.request import Request
|
|
from scrapy.http.request.form import FormRequest
|
|
from scrapy.http.request.json_request import JsonRequest
|
|
from scrapy.http.request.rpc import XmlRpcRequest
|
|
from scrapy.http.response import Response
|
|
from scrapy.http.response.html import HtmlResponse
|
|
from scrapy.http.response.json import JsonResponse
|
|
from scrapy.http.response.text import TextResponse
|
|
from scrapy.http.response.xml import XmlResponse
|
|
|
|
__all__ = [
|
|
"FormRequest",
|
|
"Headers",
|
|
"HtmlResponse",
|
|
"JsonRequest",
|
|
"JsonResponse",
|
|
"Request",
|
|
"Response",
|
|
"TextResponse",
|
|
"XmlResponse",
|
|
"XmlRpcRequest",
|
|
]
|