1. F5 Networks, F5 Cloud Docs: On the HTTP::header command page, it states, "If the header does not exist, the command returns a null string." This confirms that the command returns an empty string when the User-Agent header is missing.
Source: F5 Cloud Docs, HTTP::header command reference. (Located under the BIG-IP LTM > iRules > Commands section on clouddocs.f5.com).
2. F5 Networks, F5 Cloud Docs: The contains operator checks if the first operand (the string returned by [HTTP::header UserAgent]) contains the second operand ("MSIE"). Standard Tcl string handling, which iRules are based on, dictates that an empty string does not contain any non-empty substring.
Source: F5 Cloud Docs, contains operator reference. (Located under the BIG-IP LTM > iRules > Operators section on clouddocs.f5.com).
3. F5 Networks, F5 Certified Technology Specialist, BIG-IP LTM Study Guide: Official study materials for F5 certification exams cover iRule logic, including conditional statements. The if-else structure provides a default path when the primary condition is not satisfied, preventing ambiguity or dropped connections unless explicitly coded.
Source: F5 Certified Technology Specialist, BIG-IP LTM Study Guide, Chapter on iRules fundamentals.