<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[declarativeNetRequest does not seem to modify the headers correctly]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am developing an extension called “<a href="https://chrome.google.com/webstore/detail/bing-chat-on-chromium/oankfoonhlnlabhlgoglghmpcjndcobc" target="_blank" rel="noopener noreferrer nofollow ugc">Bing Chat on Chromium”</a> that uses the declarativeNetRequest API to modify network requests. The source code is available here: <a href="https://github.com/claudio4/bing-chat-on-chromium" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/claudio4/bing-chat-on-chromium</a></p>
<p dir="auto">I have noticed that there seems to be a problem with this API on Opera and Opera GX. Specifically, it doesn’t seem to overwrite the header nor does it add additional headers when I use the modifyHeaders action. This works fine on other browsers that support this API, such as Brave, Chrome, Chromium and Vivaldi.</p>
<p dir="auto">I have used the ‘declarativeNetRequestFeedback’ permission to check where the rules get triggered and indeed they do. However, the headers are not modified as expected.</p>
<p dir="auto">Is this a known issue or a bug? Has anyone else experienced this problem? I would appreciate any help or feedback on how to fix this.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forums.opera.com/topic/60904/declarativenetrequest-does-not-seem-to-modify-the-headers-correctly</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 00:18:20 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/60904.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Mar 2023 23:50:22 GMT</pubDate><ttl>60</ttl></channel></rss>