 class=language-bash data-expandlinks=true data-repo=istio>$ kubectl exec -n my-app curl -c curl  -- curl -s -w &#34;\nhttp_code=%{http_code}&#34; httpbin:8000/get -H &#34;x-force-unauthenticated: enabled&#34;</code></pre><h4 id=adding-headers-to-request>向请求添加标头</h4><p>运行有效请求，您应该收到带有新标头 <code>x-validated-by: my-security-checkpoint</code> 和已删除标头 <code>x-force-authorized</code> 的回显主体：</p><pre><code class=language-bash data-expandlinks=tru