Forum Discussion
Jason_Glynn_113
Nimbostratus
Oct 04, 2006HTTP::header insert
I have implemented the following iRuel to add a httpheaders.
when HTTP_REQUEST {
HTTP::header insert BESPOKEHEADER "value"
}
It adds the header fine but the value is al...
hoolio
Cirrostratus
Oct 04, 2006Hi,
The rule is simple enough and should work. I tested on a 9.2.3 unit and see in a tcpdump that the header and value are added:
P...<...GET./.HT
TP/1.1..User-Age
nt:.curl/7.10.6.
(i686-redhat-lin
ux-gnu).libcurl/
7.10.6.OpenSSL/0
.9.7i.ipv6.zlib/
1.1.4..Host:.htt
p_vip..Pragma:.n
o-cache..Accept:
.image/gif,.imag
e/x-xbitmap,.ima
ge/jpeg,.image/p
jpeg,.*/*..BESPO
KEHEADER:.value.
...
Note the BESPOKEHEADER: value at the end.
Are you sure that you're not seeing the header and value added? Is it possible it's being added, but the server isn't parsing it as expected?
Aaron
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