I would like close the SSL connection after each request in Azure API Management (because of some weird firewall settings) between Azure API Management and the backend.
I have tried to Set HTTP header policy
<set-header name="Connection" exists-action="override">
<value>close</value>
</set-header>
But on save, I receive the following error message
One or more fields contain incorrect values:
- Error in element 'set-header' on line 30, column 10: Header name is invalid or restricted from modification.
According to Mozilla, the "Connection" HTTP header is a Forbidden header name
A forbidden header name is the name of any HTTP header that cannot be modified programmatically; specifically, an HTTP request header name (in contrast with a Forbidden response header name).
With Postman, I can set the "Connection" HTTP header and send my request.
How could I make Azure API Management to close SSL connection after each request?