Hi guys! i have similar issue i am try to add Proxy-Authenticate headers to CONNECT request by it seems like it doesnt work. May be you have faced this problem before? Really appreciate any suggestion. Thank you!
const rules: chrome.declarativeNetRequest.Rule[] = [
{
id: 1,
priority: 1,
action: {
type: chrome.declarativeNetRequest.RuleActionType.MODIFY_HEADERS,
requestHeaders: [
{
operation: chrome.declarativeNetRequest.HeaderOperation.SET,
header: 'Proxy-Authenticate',
value: 'Basic '+ b,
},
]
},
condition: {
requestMethods: [chrome.declarativeNetRequest.RequestMethod.CONNECT]
}
},