(self, *args, **kwargs)
| 107 | or to base64-decoded value of 'body' key; |
| 108 | """ |
| 109 | def __init__(self, *args, **kwargs): |
| 110 | self.cookiejar = None |
| 111 | self._cached_ubody = None |
| 112 | self._cached_data = None |
| 113 | self._cached_selector = None |
| 114 | kwargs.pop('encoding', None) # encoding is always utf-8 |
| 115 | super(SplashJsonResponse, self).__init__(*args, **kwargs) |
| 116 | |
| 117 | # FIXME: it assumes self.request is set |
| 118 | if self._splash_options().get('magic_response', True): |
| 119 | self._load_from_json() |
| 120 | |
| 121 | @property |
| 122 | def data(self): |
no test coverage detected