Forum Discussion
João_Assad_4295
Nimbostratus
Nov 14, 2005redirect POSTs bigger than 1MB
Hello,
I'd like to redirect POSTs bigger than 1MB to an error page, so I tried this:
when HTTP_REQUEST {
set method [HTTP::method]
set clen [HTTP::header Content-Length]
if { $metho...
João_Assad_4295
Nimbostratus
Nov 16, 2005Still can't make this work.
adding a HTTP::collect before the HTTP::respond doesnt make any difference, the client will keep sending the POST and get redirected only after it's done.
adding the HTTP::collect after the HTTP::respond gives the error Operation not supported (line 1) invoked from within "HTTP::collect"
adding a reject after the HTTP::respond will give the Document contains no data error on the client and no errors on the logs
at this point Im really out of ideas... maybe this can't be done ?
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