<div dir="ltr"><div><br></div>Hi list!<div><br></div><div>I'm trying to remove Proxy-Authorization dedicated</div><div>to local subscriber without -and not the other ones</div><div>dedicated to other server-</div><div><br></div><div>I realized that "consume_credentials" doesn't work</div><div>because it requires that a call to "www_authorize,</div><div>proxy_authorize, www_authenticate or proxy_authenticate"</div><div>has been made before. I have a use-case where this isn't</div><div>called.</div><div><br></div><div><div>I don't want to use such code:</div><div><br></div><div>

<pre style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">if (is_present_hf("Proxy-Authorization")) {
        remove_hf("Proxy-Authorization");
}
</pre>Because this may remove a "Proxy-Authorization"</div><div>for another service.</div><div><br></div><div>I have seen this: has_credentials but it doesn't help</div><div>to know which header is the one containing the header...</div><div><br></div><div>Any good way to find the header and index?</div><div>And then remove it with remove _hf_value2?</div><div><br></div><div>Regards</div><div>Aymeric</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><img src="http://sip.antisip.com/am48.png">Antisip - <a href="http://www.antisip.com" target="_blank">http://www.antisip.com</a><br></div>
</div></div>