def to_dict(self):
cache_info = None<EOL>if self.cache_info:<EOL><INDENT>cache_info = self.cache_info.to_dict()<EOL><DEDENT>return {<EOL>'<STR_LIT>': cache_info,<EOL>'<STR_LIT:html>': self.html,<EOL>'<STR_LIT>': self.scraped,<EOL>'<STR_LIT>': self.raw<EOL>}<EOL>
Response as dict

:return: response
:rtype: dict