Forum Discussion
Tarmo_Mamers
Nimbostratus
Jun 01, 2009HTTP::header insert and header names
HTTP::header insert somename somevalue inserts "HTTP_" before the specified variable name of "somename". Is it possible to have it not inserted - to have the HTTP header with exactly the specified...
spark_86682
Jun 02, 2009Historic F5 Account
HTTP::header should insert it exactly as given. It does not prepend "HTTP_" on my system:
when HTTP_RESPONSE {
HTTP::header insert headername headervalue
}
gives
HTTP/1.1 200 OK
Date: Tue, 02 Jun 2009 22:26:02 GMT
Accept-Ranges: bytes
Content-Length: 45
Connection: close
Content-Type: text/html
headername: headervalue
and doing it for requests works similarly. Perhaps you should try logging the contents of the parameters you pass to HTTP::header.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
