Forum Discussion
ramann_75062
Nimbostratus
Nov 14, 2008check the used protocol and add new header filed
Hi together,
is it possible to check the used protocol (http or https) from a request and then, based of the kind uof protocol, add a field into the header and send it to the server poo...
ramann_75062
Nimbostratus
Nov 14, 2008yeah, this works:
when HTTP_REQUEST {
if { [TCP::local_port] == 443 }{
HTTP::header insert SSL 1
} else { HTTP::header insert SSL 0}
}
thanks
bjoern
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