Bug #1221 » UrlRequestInterceptor.diff
| 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);
|
||