Forum Discussion
Mike_Blue_30573
Nimbostratus
Mar 29, 2005Get formatted as HTTP 1.0
Just a quick question.
Any assistance greatly appreciated.
I have found the HTTP::version command and am trying to build a rule.
I dont quite understand how to format the ...
bl0ndie_127134
Mar 29, 2005Historic F5 Account
Yes, you can use the HTTP::version rule to set the version that is sent to the client/server. I think this rule might do the trick.
class files {
".csv"
".rtf"
}
when HTTP_REQUEST {
if { [matchclass [HTTP::uri] ends_with $::files] } {
if {[HTTP::header is_keepalive]} {
HTTP::header replace "Connection" "keep-alive"
}
HTTP::version "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
