Forum Discussion
Patti_G_72768
Nimbostratus
Oct 28, 2013Specifying a http protocol in an iRule
Hi, is there a way to specify the http protocol in an iRule?
Woud it be something like HTTP::protocol eq "HTTP/1.0" or would I use HTTP::version eq "HTTP/1.0"?
4 Replies
- Kevin_Stewart
Employee
The [HTTP::version] command will return the protocol version (ex. "1.0" or "1.1"), but will not set it. Do you need to set it, or do you simply need to evaluate it?
- Patti_G_72768
Nimbostratus
Hi, I need to evaluate it.
- Kevin_Stewart
Employee
Then something like this:
when HTTP_REQUEST { if { [HTTP::version] equals "1.0" } { do something } } - Patti_G_72768
Nimbostratus
Hi Kevin, thank you very much!
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