Forum Discussion
yosry92_331999
Nimbostratus
Jan 17, 2018stream profile encoding issue
i got an error when i add STREAM::encoding utf-8 into this iRule
01070151:3: Rule [/Common/korabia3] error: /Common/korabia3:5: error: [command is not valid in current event context (HTTP_RESPONSE)]...
Leonardo_Souza
Cirrocumulus
Jan 17, 2018Some commands are only available in some events. You may need to split those commands.
Normally the events the command can be used, are documented. But in this case, no information in the following page:
https://devcentral.f5.com/wiki/irules.stream__encoding.ashx
However, in my test did work in the STREAM_MATCHED event.
when STREAM_MATCHED {
STREAM::encoding utf-8
}
Have a look in this page, as it has a good example:
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