class documentation

class HtmlResponse(TextResponse): (source)

View In Hierarchy

Undocumented

Inherited from TextResponse:

Method __init__ Undocumented
Method css Shortcut method implemented only by responses whose content is text (subclasses of TextResponse).
Method follow Return a :class:`~.Request` instance to follow a link ``url``. It accepts the same arguments as ``Request.__init__`` method, but ``url`` can be not only an absolute URL, but also
Method follow_all A generator that produces :class:`~.Request` instances to follow all links in ``urls``. It accepts the same arguments as the :class:`~.Request`'s ``__init__`` method, except that each ``urls`` element does not need to be an absolute URL, it can be any of the following:...
Method json .. versionadded:: 2.2
Method urljoin Join this Response's url with a possible relative url to form an absolute interpretation of the latter.
Method xpath Shortcut method implemented only by responses whose content is text (subclasses of TextResponse).
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 encoding Undocumented
Property selector Undocumented
Property text Body as unicode
Method _auto_detect_fun Undocumented
Method _body_declared_encoding Undocumented
Method _body_inferred_encoding Undocumented
Method _bom_encoding Undocumented
Method _declared_encoding Undocumented
Method _headers_encoding Undocumented
Method _set_body Undocumented
Method _set_url Undocumented
Constant _DEFAULT_ENCODING Undocumented
Instance Variable _body Undocumented
Instance Variable _cached_benc Undocumented
Instance Variable _cached_decoded_json Undocumented
Instance Variable _cached_selector Undocumented
Instance Variable _cached_ubody Undocumented
Instance Variable _encoding Undocumented
Instance Variable _url Undocumented

Inherited from Response (via TextResponse):

Method __repr__ Undocumented
Method copy Return a copy of this Response
Method replace Create a new Response with the same attributes except for those given new values
Class Variable body Undocumented
Class Variable url Undocumented
Instance Variable certificate Undocumented
Instance Variable flags Undocumented
Instance Variable headers Undocumented
Instance Variable ip_address Undocumented
Instance Variable protocol Undocumented
Instance Variable request Undocumented
Instance Variable status Undocumented
Property cb_kwargs Undocumented
Property meta Undocumented
Method _get_body Undocumented
Method _get_url Undocumented

Inherited from object_ref (via TextResponse, Response):

Method __new__ Undocumented
Class Variable __slots__ Undocumented