qutebrowser/tests/end2end/data/misc
Florian Bruhin 0144a314ad Respect Accept-Language set via XHR
Similarly to #5998, XHR requests should be able to set their custom
Accept-Language values - and for some odd reason, stuff breaks on websites
sometimes when that's not respected.

There's no way for qutebrowser to know if a given header value is already set in
a request (i.e. whether we're adding or overriding). Thus we only really have
two options here:

1) Don't set any shared.custom_headers() for XHR requests at all.
2) Special-case Accept-Language here, because the issue usually is triggered by
the global override, but that already gets set just fine via QWebEngineProfile
anyways.

Given that 2) is the thing causing trouble in the wild and it's unclear what the
desired behavior for 1) is (e.g. for the DNT header), let's go for 2) here.
2024-11-27 17:48:03 +01:00
..
hello.txt.html Clean up end2end test file structure 2016-05-29 18:20:00 +02:00
jseval.html Add missing jseval.html 2016-09-12 20:02:03 +02:00
jseval_file.js Adds a --file flag to :jseval 2017-02-25 13:11:53 +00:00
pyeval_file.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
qutescheme_csrf.html CVE-2018-10895: Fix CSRF issues with qute://settings/set URL 2018-07-11 17:05:23 +02:00
test.pdf Clean up end2end test file structure 2016-05-29 18:20:00 +02:00
xhr_headers.html Respect Accept-Language set via XHR 2024-11-27 17:48:03 +01:00