romolo82
Jul 05, 2023Cirrus
Set HTTP version
Hi,
I need to set HTTP version on a service, forcing request and response from 1.0 to 1.1.
I tried with this command on the irule:
when HTTP_REQUEST {
HTTP::version "1.1"
}
but doesn't work. Anyone has a suggestion, please?
Thanks a lot
romolo82 You might try the following to see if it resolves your issue.
when HTTP_REQUEST priority 500 { HTTP::version "1.1" } when HTTP_RESPONSE priority 500 { HTTP::version "1.1" }
What are you using to validate that the HTTP request has moved from HTTP 1.0 to HTTP 1.1 instead? You could use the following curl to validate this change.
curl -IvkH 'Host: <fqdn>' "http://<url>"