Forum Discussion
JG
Cumulonimbus
Jan 20, 2014HTTP::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
Altocumulus
If there is no Host header you can't determine what hostname the client used.
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