class documentation

class HtmlResponse(TextResponse):

View In Hierarchy

Undocumented

Inherited from TextResponse:

Method __init__ Undocumented
Method ​_auto​_detect​_fun Undocumented
Method ​_body​_declared​_encoding Undocumented
Method ​_body​_inferred​_encoding Undocumented
Method ​_declared​_encoding Undocumented
Method ​_headers​_encoding Undocumented
Method ​_set​_body Undocumented
Method ​_set​_url Undocumented
Method body​_as​_unicode Return body as unicode
Method css Shortcut method implemented only by responses whose content is text (subclasses of TextResponse).
Method follow Return a ~.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 No summary
Method json
New in version 2.2.
Method replace Create a new Response with the same attributes except for those given new values.
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).
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
Property encoding Undocumented
Property selector Undocumented
Property text Body as unicode

Inherited from Response (via TextResponse):

Method __str__ Undocumented
Method ​_get​_body Undocumented
Method ​_get​_url Undocumented
Method copy Return a copy of this Response
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

Inherited from object_ref (via TextResponse, Response):

Method __new__ Undocumented
Class Variable __slots__ Undocumented