maxime_58258
Mar 19, 2014Nimbostratus
How to replace a missing Http header bu using F5 ?
Hi everyone,
I'm a newbie in irule programming and i need some help to write an irule based on the http header inpection.
how can i do to check the value of this field in the http header and depend to the value to ask to the F5 to query ldap to retrieve the missing field.
her an example of the http header with X-MSISDN having a value NULL (EMPTY)
GET /mms/wapenc?location=15066506840_0md6kv&rid=030 HTTP/1.1 X-Wap-Profile: http://iphonemms.apple.com/iphone/uaprof-2MB.rdf x-up-subno: X-WAP-MSISDN: -> it is empty
Accept: application/vnd.wap.mms-message
so, the https header is null, I would like to retrieve the missing info by quering ldap Then based on the ldap response to replace the blank field by the response coming from ldap
Is it possible ?
Many thanks for your help