declarativeNetRequest modifyHeaders support in Safari macOS (17.1(19616.2.9.11.7))

Is declarativeNetRequest with action type modifyHeaders supported in safari web extension? To modify request headers with declarativeNetRequest, I just modify the manifest.json as below.

{
    "manifest_version": 3,
    ....
    "permissions": [
        "declarativeNetRequest",
        "declarativeNetRequestWithHostAccess",
        "activeTab"
    ],
    
    "declarative_net_request": {
      "rule_resources": [
        {
          "id": "ruleset_for_extension",
          "enabled": true,
          "path": "rules.json"
        }
      ]
    },
    
    "host_permissions": [
        "<all_urls>"
    ],

    "background": {
        "service_worker": "background.js"
    },

    "content_scripts": [{
        "js": [ "content.js" ],
        "matches": [ "*://www.acmicpc.net/*" ]
    }],
   ....
}

And rules.json is as follows

{
    "id": 1,
    "priority": 1,
    "action": { "type": "modifyHeaders",
        "requestHeaders": [
            { "header": "sec-fetch-dest", "operation": "set", "value": "document" },
            { "header": "sec-fetch-mode", "operation": "set", "value": "navigate" }
        ]
    },
    "condition": { "domains":["acmicpc.net"], "resourceTypes":["xmlhttprequest"] }
}

It builds successfully but not modify headers with as intended even though the permission in safari is enabled.

declarativeNetRequest modifyHeaders support in Safari macOS (17.1(19616.2.9.11.7))
 
 
Q