code: def response_hook(self, response, **kwargs) -> HTMLResponse:
          
          if not response.encoding:
              response.encoding = DEFAULT_ENCODING
          return HTMLResponse._from_response(response, self)
docs: Change response enconding and replace it by a HTMLResponse.