Forum Discussion
Nat_Thirasuttakorn
Employee
Nov 29, 2004Is there any iRule command in HTTP event to remove HTTP response code?
For example:-
response from server...
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 2345
DATADATADATA...
to be...
DATADATADATA...
do i need to move to CLIENT/SERVER event?
Thanks in advance.
- bl0ndie_127134Historic F5 Account
Yes, iRules do allow you to change the HTTP
versions for both the request and responses. With that said, re-writing the versions should be done with caution because the client may not support the version you are changing to. In any case here is the rule.
when HTTP_RESPONSE { HTTP::version "0.9" HTTP::close }
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