Forum Discussion
CraigM_17826
Altocumulus
Jul 01, 2010Inserting a custom header
Hi all,
our WebSphere devleopers have requested we insert a custom header that contains the complete URL the client requested, including the protocol (http:// or https:.//).
At the moment we are using the Request Header Insert option in the custom profile, and altough I can use [HTTP::host][HTTP::uri] in the header I can't seem to find a function that will return the current protocol. I suppose I could do this within an iRule if need be but was wondering if it's possible to do via the profile without resorting to hard coding literal https:// in the header field. ex.
new-header-name:https://[HTTP:host][HTTP::uri]
does work but I just try to avid hard coding things unless there is no alternative.Anyway comments welcome.
Regards
Craig
- hoolio
Cirrostratus
Hi Craig, - CraigM_17826
Altocumulus
thanks hoolio, thetas exactly what I have ended up doing, Regards .Craig
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