Forum Discussion

smp_86112's avatar
smp_86112
Icon for Cirrostratus rankCirrostratus
Jul 21, 2010

HTTP version in HTTP::Redirect

I happened to notice today that our HTTP::fallback and HTTP::redirect commands are generating HTTP 1.0 responses, versus HTTP 1.1. Is there a way to force this command to respond with HTTP 1.1, or do I need to craft the response myself? The doc on HTTP::redirect does not mention the version number.


HTTP::redirect "http://sitedown.mysite.com/index.html"
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi SMP,

     

     

    As you found, you can't set the HTTP version for LTM generated responses using the HTTP profile, HTTP::respond, HTTP::redirect or HTTP::fallback. This might make a good feature request. If you open a case with F5 Support, request this and get a CR, could you reply back here with it?

     

     

    As far as a workaround, you can use TCP::respond for HTTP or SSL::respond in v10+ for HTTPS to set the HTTP version to 1.1:

     

     

    HTTP::respond and HTTP/1.0

     

    http://devcentral.f5.com/Forums/tabid/1082223/asg/50/showtab/groupforums/aff/5/aft/60438/afv/topic/Default.aspx

     

     

    Thanks, Aaron