Technical Tip: remove-from-response in web-proxy fails to remove multiple headers from HTTP response
| Description | This article describes the issue that the remove-from-response option in the web-proxy profile fails to remove headers from the HTTP response. |
| Scope | FortiProxy v7.4.11, v7.6.4 or before. |
| Solution | When multiple HTTP headers are configured in the web-proxy profile entry to be removed from an HTTP response, only the first header is removed from the HTTP response.
config firewall policy edit 1 set type explicit-web next end
config web-proxy profile edit "wp-profile" config headers edit 1 set name "Vary" next set name "cache-control" next set name "Pragma" next end next end
Example:
HTTP/1.1 200 OK
|
