Forum Discussion
Enable Passthrough for file downloads
I have an issue where I am loadbalancing a document management system which works fine until I try to download files from the website of a particular type. The files fail to download because they the file size is larger than the reported content length. I have tried to use HTTP::disable to enable passthrough and prevent the F5 from enforcing the content length. When I do this the browser pops up with a logon window. Is there a way to prevent this from happening?
when HTTP_REQUEST priority 100 {
Selectively disable HTTP parser for specific URIs
switch -glob [string tolower [HTTP::uri]] {
/action=download {
HTTP::disable
log local0. "Disabling http profile" Disable HTTP_REQUEST event for this connection
so that other iRules cannot not call HTTP parser event disable
}
} }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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