For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

JG's avatar
JG
Icon for Cumulonimbus rankCumulonimbus
Jan 20, 2014

HTTP::header "Host" and HTTP::host: Any difference?

'HTTP::header "Host"' and 'HTTP::host' seem to return the same thing: the HTTP "Host:" header, according to the irule manual pages I can find.

 

I wonder what will happen if HTTP 1.0 is used, and there is no "Host:" header sent to the server. How do I get the hostname used by the user? Bear in mind that http::uri does not necessarily contain the hostname unless in a forward proxy situation.

 

1 Reply

  • uni's avatar
    uni
    Icon for Altocumulus rankAltocumulus

    If there is no Host header you can't determine what hostname the client used.