How to capture the response of a request intercepted by QWebEngineUrlRequestInterceptor?
问题 I have a PyQt5 QWebEngineProfile with a QWebEngineUrlRequestInterceptor. This interceptor gives me access to the request before it it resolved. Is it possible to capture the response of every request intercepted without having to manually re-submit the request? class WebEngineUrlRequestInterceptor(QWebEngineUrlRequestInterceptor): def __init__(self, on_network_call): super().__init__() self.on_network_call = on_network_call def interceptRequest(self, info): self.on_network_call(info) class