class documentation
class JsonRequest(Request): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | replace |
Create a new Request with the same attributes except for those given new values |
Class Variable | attributes |
A tuple of :class:`str` objects containing the name of all public attributes of the class that are also keyword parameters of the ``__init__`` method. |
Property | dumps |
Undocumented |
Method | _dumps |
Convert to JSON |
Instance Variable | _dumps |
Undocumented |
Inherited from Request
:
Class Method | from |
Create a Request object from a string containing a `cURL <https://curl.haxx.se/>`_ command. It populates the HTTP method, the URL, the headers, the cookies and the body. It accepts the same arguments as the :class:`Request` class, taking preference and overriding the values of the same arguments contained in the cURL command. |
Method | __repr__ |
Undocumented |
Method | copy |
Undocumented |
Method | to |
Return a dictionary containing the Request's data. |
Class Variable | body |
Undocumented |
Class Variable | url |
Undocumented |
Instance Variable | callback |
Undocumented |
Instance Variable | cookies |
Undocumented |
Instance Variable | dont |
Undocumented |
Instance Variable | errback |
Undocumented |
Instance Variable | flags |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | method |
Undocumented |
Instance Variable | priority |
Undocumented |
Property | cb |
Undocumented |
Property | encoding |
Undocumented |
Property | meta |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Method | _set |
Undocumented |
Method | _set |
Undocumented |
Instance Variable | _body |
Undocumented |
Instance Variable | _cb |
Undocumented |
Instance Variable | _encoding |
Undocumented |
Instance Variable | _meta |
Undocumented |
Instance Variable | _url |
Undocumented |
Inherited from object_ref
(via Request
):
Method | __new__ |
Undocumented |
Class Variable | __slots__ |
Undocumented |
overrides
scrapy.Request.replace
Create a new Request with the same attributes except for those given new values
overrides
scrapy.Request.attributes
A tuple of :class:`str` objects containing the name of all public attributes of the class that are also keyword parameters of the ``__init__`` method. Currently used by :meth:`Request.replace`, :meth:`Request.to_dict` and :func:`~scrapy.utils.request.request_from_dict`.