Forum Discussion
<http_request> - Operation not supported (line 5) invoked from within "HTTP::header insert X-Forwarded-Proto "https"" </http_request>
Hello Need to insert X-Forwarded-Proto "https" in the header when HTTP_REQUEST Unfortunately I get this error message : - Operation not supported (line 5) invoked from within "HTTP::header insert X-Forwarded-Proto "https""
Anyone has an hint to fix this ?
- crodriguezRet. Employee
I tested the following basic iRule and was unable to recreate your issue. (It inserts the header, as expected, and no error message is generated.):
when HTTP_REQUEST { HTTP::header insert "X-Forwarded-Proto" "http" }
Would you add your iRule code to this question so as we can see the context in which you are trying to add the header, please?
- PeteWhiteEmployee
You probably have other iRules on which you are doing redirect or suchlike.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com