Project

General

Profile

Bug #1221 » UrlRequestInterceptor.diff

Diff file for the class UrlRequestInterceptor - José Manuel García-Patos, 09/17/2024 10:53 AM

View differences:

src/interceptors/UrlRequestInterceptor.cpp
requestStructPointer->urlString = urlRequestInfo.requestUrl().toString();
requestStructPointer->webPageUrlString = urlRequestInfo.firstPartyUrl().toString();
// These headers are needed by some websites. The values given here are
// unimportant right now, but they probably should be given in the future
// by some form of user configuration:
urlRequestInfo.setHttpHeader("Accept-Encoding", "gzip, deflate, br, zstd");
urlRequestInfo.setHttpHeader("Accept-Language", "*");
urlRequestInfo.setHttpHeader("Connection", "keep-alive");
// Check the filter lists.
bool continueProcessing = globalFilterListHelperPointer->checkFilterLists(privacyWebEngineViewPointer, urlRequestInfo, requestStructPointer);
    (1-1/1)