Forum Discussion
Josh_01_136515
Nimbostratus
Oct 29, 2013Disable HTTP 1.0
Hi all,
I saw the similar Irule post for disabling HTTP 1.1, but being new to F5 and iRules, I don't know if the post will work if I flip the values. Anyone have experience in this? V10.2.3
Kevin_Stewart
Employee
Oct 29, 2013You should probably get rid of all the HTTP::header stuff, but yes that should work.
when HTTP_REQUEST {
if { not ( [HTTP::header exists Host] ) } {
HTTP::header insert Host [IP::client_addr]
}
HTTP::version "1.1"
}
when HTTP_RESPONSE {
HTTP::version "1.1"
}
This will probably require some tweaking in your environment. Also note that this will change the protocol version as it passes through the proxy. The requests and responses will arrive at the client with 1.1, but there's nothing you can do to prevent either party from continuing to use 1.0.
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