Forum Discussion
Darren_Young_10
Nimbostratus
Mar 11, 2010Remove headers on GET vs. POST
How could I remove headers on a GET vs. a POST request?
hoolio
Cirrostratus
Mar 11, 2010Hi Darren,
You can check the request method using HTTP::method, get a list of the headers using 'HTTP::header names' and remove an HTTP header using 'HTTP::header remove'.
http://devcentral.f5.com/wiki/default.aspx/iRules/http
Do you want to remove all HTTP headers from just GET requests? Or can you clarify?
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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