PHP header_remove not working
<p><em>Scenario</em>:</p>

<ol>
<li>User requests API page with set <code>Authorization</code> header with token</li>
<li>Authorize</li>
<li>Remove <code>Authorization</code> header</li>
<li>Redirect to AWS S3 signed url</li>
</ol>

<hr>

<pre><code>header_remove('Authorization'); // Remove header

// Get all headers, should not contain `Authorization` header...
$headers = apache_request_headers();
$headers2 = getallheaders();

var_dump($headers['Authorization'], $headers2['Authorization']);

// string(185) "eyJ0eXAi...oUs"
// string(185) "eyJ0eXAi...oUs"
</code></pre>

<p>Why I can't remove headers using <code>header_remove</code> function?<br>
I must also check if header is still set in other requests.</p>