Forum Discussion
TaSM1_90432
Jan 28, 2011Nimbostratus
iRule to inspect case-insensitive string
Hello all: I am trying to compose an irule which examines a 'POST' in http header, doesn't care about case as it may be capitals or not, and processes as normal if that value is present. If...
Chris_Miller
Jan 29, 2011Altostratus
You need "string tolower" and not just "tolower."
To make sure I understand what you're trying to do:
1. Only examine POSTs.
2. Reject POST unless a certain header exists.
Are you looking for a certain header name, or any header that has a certain value? The rules above loop through every single header so will be inefficient if you're just looking for a specific one.
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