Forum Discussion
Brad_53264
Jun 27, 2012Nimbostratus
Need help to translate line feeds (LF) into carriage returns (CR)
I have a client which is doing an HTTP GET on a plain text file. The plain text file contains line feeds (LF) on every line. I need an iRule solution that translates all line feeds into carriage r...
Brad_53264
Jun 27, 2012Nimbostratus
Here is what I have so far. PROPFIND is working correctly, GET is pulling down the files, but the content is empty.
Thanks in advance for the help.
when HTTP_REQUEST {
set request_method [HTTP::method]
}
when HTTP_RESPONSE {
if { $request_method contains "GET" }{
STREAM::disable
STREAM::expression {@\r\n@\r\n\r\n@}
STREAM::enable
}
}
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