Forum Discussion
Prafulzade_3335
Nimbostratus
Sep 18, 2017irule information
Hi, can you please someone tell me what is the use of following irule.
{
when HTTP_REQUEST {
if {not([HTTP::header "clientprotocol"] contains "https") } {
log local0.info "--Insert header be...
Sep 18, 2017
This iRule insert a HTTP header 'clientprotocol' if there isn't already a HTTP header 'clientprotocol' that contains the value 'https'. This iRule seems to be related to an environment where SAP netweaver is being used.
See: https://www.f5.com/pdf/deployment-guides/f5-sap-dg.pdf
when HTTP_REQUEST {
if {not([HTTP::header "clientprotocol"] contains "https") } {
log local0.info "--Insert header because nothing in clientprotocol = [HTTP::header values clientprotocol]"
HTTP::header insert ClientProtocol HTTPS
} else {
log local0.info "--Header already exist [HTTP::header values clientprotocol]"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects