Raj_74912
Jun 30, 2010Nimbostratus
Unexpected CRLF with HTTP Version
Guys,
Need your help with this.
I am running version 9.4.8 and I am noticing that if I change the HTTP version in an iRule it adds extra CRLF after the irule changes the HTTP version. Any way to tell the irule not to add the extra CRLF when changing HTTP version?
So in summary when I update the HTTP version in a HTTP request I see the following: HTTP/1.0\r\n\r\n.
iRule:
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
} else {
if { [HTTP::version] eq "0.9" || [HTTP::version] eq "" } {
HTTP::version "1.0"
}
HTTP::version "1.0"
}
Thanks
Raj